diff options
| author | Yappaholic <sav.boyar@gmail.com> | 2026-05-09 21:00:48 +0300 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-05-11 17:49:11 +0200 |
| commit | 5f5d345f538b122c3a1b782b7d836c0f881a02c5 (patch) | |
| tree | 00c92e9c1588a56747cbbeace042f0c90df3de03 | |
| parent | 2cbe77f480fa74f74ef4bd6c7a1606e3f08bb142 (diff) | |
gnu: Add xmake.
* gnu/packages/build-tools.scm (xmake): New variable.
Change-Id: I3a84e5be66635c745c3ae9f52c109af10dfec742
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8360
| -rw-r--r-- | gnu/packages/build-tools.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 3b74ed6364..171d1719c4 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -1452,3 +1452,36 @@ It is an alternative to e.g. @command{make(1)} and @command{redo(1)}. Features: @end itemize ") (license license:wtfpl2))) + +(define-public xmake + (package + (name "xmake") + (version "3.0.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xmake-io/xmake.git") + (commit (string-append "v" version)) + ;; Requires some dependencies from "xmake-core-*" repos + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pdjz52w9lzfbcpx9wmzy0bsjg7i19xz43f63czk7jz9v0xba6gi")))) + (build-system gnu-build-system) + (arguments + (list + ;; No check rule in make + ;; TODO: find how to run Lua tests in "test" directory + #:tests? #f)) + (home-page "https://xmake.io/") + (synopsis "Cross-platform build utility based on Lua") + (description "@command{xmake} is a cross-platform build utility based on Lua. +Features: +@itemize +@item Built-in caching and parallel compilation, +@item Concise Lua syntax, +@item Custom rules, plugins and modules, +@item Support for C++20 modules and compile_commands.json, +@item Support for languages outside C/C++ (e.g. Go, Rust, Zig). +@end itemize") + (license license:asl2.0))) |
