summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-13 17:00:41 +0200
committerAndreas Enge <andreas@enge.fr>2025-10-17 12:04:47 +0200
commitcd06fc055d834307c5d511f0a9af28155f2a0399 (patch)
tree0a018e3819e94924d8bd8e7bb54bccddf57a36b5
parent70282b451f3d06ba8a57d745614cd8def08ac195 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/rust-apps.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index c215b90fc9..20486353f7 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1838,6 +1838,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 _
@@ -1884,7 +1885,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)))