diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-09 21:27:52 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-09 21:27:56 +0000 |
commit | e27e63e6fe72d3a6cb6a8755f290ec710d339a9a (patch) | |
tree | 79c02954c969ddbfe5354dcd59cdc31b8160d87d /gnu/packages/python-xyz.scm | |
parent | 45943e0979457c63c8678b41f5ae5f80c770d55a (diff) |
gnu: python-npx: Update to 0.1.6.
* gnu/packages/python-xyz.scm (python-npx): Update to 0.1.6.
[source]: Swap to git checkout as PyPI does not provide source archive.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-flit-core; add python-setuptools and
python-wheel.
Change-Id: I60c57f77a91dc2a7936f22c8abd6000fbff67e2e
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a1b47ca5f7..e4f4fa6887 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9520,16 +9520,24 @@ the Texinfo, HTML, and PDF formats."))) (define-public python-npx (package (name "python-npx") - (version "0.1.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "npx" version)) - (sha256 - (base32 - "1m0v2p5mh3aqrypl4ipgzvr5nhx7bk5vv9ah2xr9l1xgj6nnmqnc")))) + (version "0.1.6") + (source + (origin + (method git-fetch) ; no source archive in PyPI + (uri (git-reference + (url "https://github.com/sigma-py/npx") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a3rb3ydl13m1r48kdvnbi31566jxm10p36argkz5kjr2ilkrx8v")))) (build-system pyproject-build-system) - (propagated-inputs (list python-numpy)) - (native-inputs (list python-flit-core python-networkx python-pytest)) + (native-inputs + (list python-networkx + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-numpy)) (home-page "https://github.com/nschloe/npx") (synopsis "Extensions for NumPy") (description "NumPy is a large library used everywhere in scientific |