~ruther/guix-local

32305c0543b44029ecb5c03b1ac57583e9da8dbb — Nicolas Graves 7 months ago 545f8fa
gnu: python-orjson: Extend with (pyproject-guile-json).

* gnu/packages/python-xyz.scm (python-orjson)[arguments]
<#:phases>: Extend with (pyproject-guile-json).

Change-Id: If76da1021cd035828bf5c365c01ac0f94e96d2c1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +2 -1
@@ 5910,11 5910,12 @@ help formatter.")
                  ((guix build pyproject-build-system) #:prefix py:)
                  (guix build utils))
      #:phases
      (with-extensions (list (pyproject-guile-json))
      #~(modify-phases %standard-phases
          (add-after 'build 'build-python-module
            (assoc-ref py:%standard-phases 'build))
          (add-after 'build-python-module 'install-python-module
            (assoc-ref py:%standard-phases 'install)))
            (assoc-ref py:%standard-phases 'install))))
      #:install-source? #false))
    (inputs
     (cons maturin (cargo-inputs 'python-orjson)))