From 738294897843d1f2200731f264b0d7adc6404296 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Thu, 25 Sep 2025 22:37:53 +0200 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 525c7781af0..fe7f39333f1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5220,13 +5220,16 @@ sanitizer Rust crate.") (version "0.3.1") (source (origin - (method url-fetch) - (uri (pypi-uri "noiseprotocol" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/plizonczyk/noiseprotocol") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0ifnj0mpbqsfqba9n12vf5yzxj4qf2gxql3ry43qyshgnrqsi4mh")))) + (base32 "1mk0rqpjifdv3v1cjwkdnjbrfmzzjm9f3qqs1r8vii4j2wvhm6am")))) (build-system pyproject-build-system) (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") (synopsis "Implementation of Noise Protocol Framework") (description