guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 24958d640e70a89d27edc5fb63a553bfd9a42ee4
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 13 17:00:41 2025 +0200
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 <[email protected]>
---
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 78862b478a..7b80fe4252 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)))