From c99350036c75261919b3fa058711edcdcd489073 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 13 Sep 2025 17:00:41 +0200 Subject: [PATCH] gnu: maturin: Extend with (pyproject-guile-json). * gnu/packages/rust-apps.scm (maturin)[arguments]: Improve style. Use G-expressions. <#:phases>: Extend with (pyproject-guile-json). Change-Id: I524df3f97274b309b6736f58925f0b5f27497151 Signed-off-by: Sharlatan Hellseher --- gnu/packages/rust-apps.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 5e3c77f87cf72ed8015d62c5c37218f8d03fc014..31f6eeb6c140b9beafb003b68392d63c65cd12fd 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1900,6 +1900,7 @@ specified image or color, easing the process of theme creation.") "--skip=metadata::test::test_merge_metadata_from_pyproject_toml_with_customized_python_source_dir" "--skip=pyproject_toml::tests::test_warn_missing_maturin_version") #:phases + (with-extensions (list (pyproject-guile-json)) #~(modify-phases %standard-phases (add-after 'build 'build-python-module (lambda _ @@ -1946,7 +1947,7 @@ specified image or color, easing the process of theme creation.") (mkdir-p (string-append share "/nushell/vendor/autoload")) (with-output-to-file (string-append share "/nushell/vendor/autoload/maturin") - (lambda _ (invoke maturin "completions" "nushell"))))))))) + (lambda _ (invoke maturin "completions" "nushell")))))))))) (propagated-inputs (list python-tomli)) (inputs (cons bzip2 (cargo-inputs 'maturin)))