diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-23 10:29:48 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-06-02 17:35:39 +0900 |
| commit | 9539773875695431134a0f31c50eba5fcd1563b5 (patch) | |
| tree | 722c5c7061bc38d88d5ae692a59444565c3a2f2f /gnu | |
| parent | 3e9acb867ee398e4d30e25d350928a4bc2373147 (diff) | |
gnu: Add muon-as-meson-wrapper.
* gnu/packages/build-tools.scm (muon-as-meson-wrapper): New variable.
Change-Id: I13d9a71e0be896e47115379415b88f0969e207a5
Diffstat (limited to 'gnu')
| -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 e1503e33e1b..c0e67fed590 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm | |||
| @@ -43,6 +43,7 @@ | |||
| 43 | #:use-module (guix build-system cmake) | 43 | #:use-module (guix build-system cmake) |
| 44 | #:use-module (guix build-system copy) | 44 | #:use-module (guix build-system copy) |
| 45 | #:use-module (guix build-system guile) | 45 | #:use-module (guix build-system guile) |
| 46 | #:use-module (guix build-system trivial) | ||
| 46 | #:use-module (guix modules) | 47 | #:use-module (guix modules) |
| 47 | #:use-module (guix search-paths) | 48 | #:use-module (guix search-paths) |
| 48 | #:use-module (gnu packages) | 49 | #:use-module (gnu packages) |
| @@ -427,6 +428,25 @@ resembles Python.") | |||
| 427 | with minimal dependencies.") | 428 | with minimal dependencies.") |
| 428 | (license license:gpl3)))) ;for the combined work | 429 | (license license:gpl3)))) ;for the combined work |
| 429 | 430 | ||
| 431 | (define-public muon-as-meson-wrapper | ||
| 432 | (package/inherit muon | ||
| 433 | (name "muon-as-meson-wrapper") | ||
| 434 | (build-system trivial-build-system) | ||
| 435 | (arguments | ||
| 436 | (list #:builder | ||
| 437 | (with-imported-modules '((guix build utils)) | ||
| 438 | #~(begin | ||
| 439 | (use-modules (guix build utils)) | ||
| 440 | (let ((bindir (string-append #$output "/bin")) | ||
| 441 | (samu (string-append #$(this-package-input "muon") | ||
| 442 | "/bin/muon"))) | ||
| 443 | (mkdir-p bindir) | ||
| 444 | (symlink samu (string-append bindir "/meson"))))))) | ||
| 445 | (inputs (list muon)) | ||
| 446 | (description "This package provides the @command{meson} command, | ||
| 447 | implemented as a symbolic link to the @command{muon} command of @code{muon} | ||
| 448 | package."))) | ||
| 449 | |||
| 430 | (define-public premake4 | 450 | (define-public premake4 |
| 431 | (package | 451 | (package |
| 432 | (name "premake") | 452 | (name "premake") |
