~ruther/guix-local

c99350036c75261919b3fa058711edcdcd489073 — Nicolas Graves 7 months ago ef6c524
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>
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/rust-apps.scm
M gnu/packages/rust-apps.scm => gnu/packages/rust-apps.scm +2 -1
@@ 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)))