summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-13 17:00:41 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 15:00:19 +0100
commitdca835ab455588b41de789be9cf5fe37440a607d (patch)
tree08f0834d55d7d1fa71cd36656daa6daab029b2fb
parent7f8b9738a33ee4c566bbd4a78e6342d5a1f5eb02 (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 a2146c2155..0eff688db6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1835,6 +1835,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 _
@@ -1881,7 +1882,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)))