diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-23 10:29:48 +0900 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-27 09:23:04 +0900 |
commit | 8df07b263ea0f9c23a47c666d2c7beb18781ee8d (patch) | |
tree | 2297b9050d06e0a2fb62b0c1f40537725e5b1f6a | |
parent | 444fdab0f6306e65fdca423e2c86495109a0b2f6 (diff) |
gnu: Add muon-as-meson-wrapper.add-muon
* gnu/packages/build-tools.scm (muon-as-meson-wrapper): New variable.
Change-Id: I13d9a71e0be896e47115379415b88f0969e207a5
-rw-r--r-- | gnu/packages/build-tools.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 6e4b06b0e0..f456f1fab3 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -43,6 +43,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system guile) + #:use-module (guix build-system trivial) #:use-module (guix modules) #:use-module (guix search-paths) #:use-module (gnu packages) @@ -423,6 +424,25 @@ resembles Python.") with minimal dependencies.") (license license:gpl3))) ;for the combined work +(define-public muon-as-meson-wrapper + (package/inherit muon + (name "muon-as-meson-wrapper") + (build-system trivial-build-system) + (arguments + (list #:builder + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (let ((bindir (string-append #$output "/bin")) + (samu (string-append #$(this-package-input "muon") + "/bin/muon"))) + (mkdir-p bindir) + (symlink samu (string-append bindir "/meson"))))))) + (inputs (list muon)) + (description "This package provides the @command{meson} command, +implemented as a symbolic link to the @command{muon} command of @code{muon} +package."))) + (define-public premake4 (package (name "premake") |