From 7e3edc04f0c6164479e8614c2409b9f586230bcf Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 26 Aug 2025 01:36:10 +0200 Subject: [PATCH] gnu: python-scrypt: Switch to pyproject. * gnu/packages/python-crypto.scm (python-scrypt): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. [home-page]: Udpate it. [description]: Improve it. Change-Id: I35248aaaedb9ffb74e41226ece37feb3a0f2c84f Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-crypto.scm | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 600dfc63d1cc256dab30eb0f14abf83e84220306..212b78fdb270dcab675aab419e3e26e5a839ad8b 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1220,18 +1220,21 @@ require users to log in.") (version "0.8.7") (source (origin - (method url-fetch) - (uri (pypi-uri "scrypt" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/holgern/py-scrypt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0hjk71k3mgnl8siikm9lii9im8kv0rb7inkjzx78rnancra48xxr")))) - (build-system python-build-system) - (inputs - (list openssl)) - (home-page "https://bitbucket.org/mhallin/py-scrypt") + (base32 "0g3d5fgwq8g9sqa389c0j3smpzx2zsj0vv1wsl391ywny7ry0l5c")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (inputs (list openssl)) + (home-page "https://github.com/holgern/py-scrypt") (synopsis "Bindings for the scrypt key derivation function library") - (description "This is a set of Python bindings for the scrypt key -derivation function.") + (description + "This package is a set of Python bindings for the scrypt key derivation +function.") (license license:bsd-2))) (define-public python-service-identity