diff options
| author | Dariqq <dariqq@posteo.net> | 2025-11-13 21:50:59 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:17:26 +0100 |
| commit | 678f0389ab46e64351ee1441b98adbe75b69c0a2 (patch) | |
| tree | 5d9c740d59ca336e80586a4f6dce805eae4e7250 /gnu | |
| parent | 01201258bc7e9b14bf727f46e30a3c29d4417244 (diff) | |
gnu: muon: Update to 0.5.0.
* gnu/packages/build-tools.scm (muon): Update to 0.5.0
Change-Id: I84717ff61dd678857ce2cf0a1b3facd0d37fad05
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/build-tools.scm | 92 |
1 files changed, 44 insertions, 48 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 9ef7badd19e..6b03c87d600 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -426,55 +426,51 @@ resembles Python.") (license license:expat))) (define-public muon - ;; Use the latest commit, as there hasn't yet been a new release including - ;; recent changes (see: https://github.com/muon-build/muon/issues/146). - (let ((commit "55b7285a92779bd8b8870482e5535ce878f3e09f") - (revision "0")) - (package - (name "muon") - (version (git-version "0.4.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/muon-build/muon") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0kpk1h82djb0brxkwy5ylpvdpp2l1489bq822dmryhmsd573ii48")))) - (build-system meson-build-system) - (arguments - (list #:meson (computed-file "null-package" #~(mkdir #$output)) - #:ninja samu-as-ninja-wrapper - #:configure-flags #~(list "-Dsamurai=disabled") - #:tests? #f ;to avoid extra dependencies - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'patch-/bin/sh - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "tools/generate_test_check_script.py" - (("#!/bin/sh") - (string-append "#!" (search-input-file inputs - "bin/sh")))))) - (add-after 'patch-source-shebangs 'build-muon-bootstrap - (lambda _ - (setenv "CC" #$(cc-for-target)) - (setenv "CFLAGS" "-DBOOTSTRAP_NO_SAMU") - (invoke "./bootstrap.sh" "build"))) - (add-after 'build-muon-bootstrap 'setup-muon-bootstrap-as-meson - (lambda _ - (mkdir "bin") - (symlink "../build/muon-bootstrap" "bin/meson") - (setenv "PATH" (string-append (getcwd) "/bin:" - (getenv "PATH")))))))) - (native-inputs (list samurai)) - (inputs (list bash-minimal pkgconf)) - (native-search-paths (list $PKG_CONFIG_PATH)) - (home-page "https://muon.build/") - (synopsis "Meson build system alternative implementation in C99") - (description "Muon is an implementation of the meson build system in c99 + (package + (name "muon") + (version "0.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muon-build/muon") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w0vkishj7r3swzg4m1fl3hacs8mycwhsrr5vw8sy67y81cihqbd")))) + (build-system meson-build-system) + (arguments + (list #:meson (computed-file "null-package" #~(mkdir #$output)) + #:ninja samu-as-ninja-wrapper + #:configure-flags #~(list "-Dsamurai=disabled") + #:tests? #f ;to avoid extra dependencies + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-/bin/sh + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "tools/generate_test_check_script.py" + (("#!/bin/sh") + (string-append "#!" (search-input-file inputs + "bin/sh")))))) + (add-after 'patch-source-shebangs 'build-muon-bootstrap + (lambda _ + (setenv "CC" #$(cc-for-target)) + (setenv "CFLAGS" "-DBOOTSTRAP_NO_SAMU") + (invoke "./bootstrap.sh" "build"))) + (add-after 'build-muon-bootstrap 'setup-muon-bootstrap-as-meson + (lambda _ + (mkdir "bin") + (symlink "../build/muon-bootstrap" "bin/meson") + (setenv "PATH" (string-append (getcwd) "/bin:" + (getenv "PATH")))))))) + (native-inputs (list samurai)) + (inputs (list bash-minimal pkgconf)) + (native-search-paths (list $PKG_CONFIG_PATH)) + (home-page "https://muon.build/") + (synopsis "Meson build system alternative implementation in C99") + (description "Muon is an implementation of the meson build system in c99 with minimal dependencies.") - (license license:gpl3)))) ;for the combined work + (license license:gpl3))) ;for the combined work (define-public muon-as-meson-wrapper (package/inherit muon |
