gnu: python-conda-inject: Simplify check.

* gnu/packages/package-management.scm (python-conda-inject) [arguments]
<phases>: Use default 'check.

Change-Id: I6ec9a95abca5ca70d1d275523160b9e4ef928f5d
This commit is contained in:
Sharlatan Hellseher 2025-04-19 10:11:04 +01:00
parent c1609ce003
commit a3a249dd6f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1137,18 +1137,13 @@ environments.")
(sha256 (sha256
(base32 "1aig9l676wc2sjb20y7rdqf0hfcfjhh92yfiy82mf7kfnv7rp3rk")))) (base32 "1aig9l676wc2sjb20y7rdqf0hfcfjhh92yfiy82mf7kfnv7rp3rk"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (native-inputs
(list #:phases (list python-poetry-core
#~(modify-phases %standard-phases python-pytest))
(replace 'check (propagated-inputs
(lambda* (#:key tests? #:allow-other-keys) (list python-pyyaml))
(when tests?
(invoke "python3" "tests/tests.py")))))))
(propagated-inputs (list python-pyyaml))
(native-inputs (list python-poetry-core python-pytest))
(home-page "https://github.com/koesterlab/conda-inject") (home-page "https://github.com/koesterlab/conda-inject")
(synopsis (synopsis "Inject a conda environment into the current python environment")
"Inject a conda environment into the current python environment")
(description (description
"This package provides helper functions for injecting a conda "This package provides helper functions for injecting a conda
environment into the current python environment (by modifying @code{sys.path}, environment into the current python environment (by modifying @code{sys.path},