gnu: python-noiseprotocol: Fix tests.

* gnu/packages/python-web.scm (python-noiseprotocol): Fix tests.
[native-inputs]: Remove python-wheel; add python-pytest.
[source]: Switch to git-fetch to have tests.

Change-Id: I474ef101c1d645dea06c6a953928793d70c7caf2
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
This commit is contained in:
Hugo Buddelmeijer 2025-09-25 22:37:53 +02:00 committed by Vagrant Cascadian
parent 679c9b0d8b
commit 7382948978
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -5220,13 +5220,16 @@ sanitizer Rust crate.")
(version "0.3.1") (version "0.3.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "noiseprotocol" version)) (uri (git-reference
(url "https://github.com/plizonczyk/noiseprotocol")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "0ifnj0mpbqsfqba9n12vf5yzxj4qf2gxql3ry43qyshgnrqsi4mh")))) (base32 "1mk0rqpjifdv3v1cjwkdnjbrfmzzjm9f3qqs1r8vii4j2wvhm6am"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(propagated-inputs (list python-cryptography)) (propagated-inputs (list python-cryptography))
(native-inputs (list python-setuptools python-wheel)) (native-inputs (list python-setuptools python-pytest))
(home-page "https://github.com/plizonczyk/noiseprotocol") (home-page "https://github.com/plizonczyk/noiseprotocol")
(synopsis "Implementation of Noise Protocol Framework") (synopsis "Implementation of Noise Protocol Framework")
(description (description