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
This commit is contained in:
Sharlatan Hellseher 2025-02-09 21:27:52 +00:00
parent 45943e0979
commit e27e63e6fe
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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