summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-26 01:36:10 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-03 08:01:06 +0100
commit7e3edc04f0c6164479e8614c2409b9f586230bcf (patch)
tree1348109ec5d8f262e1fb2ee4c8ff679ad91d1254 /gnu/packages/python-crypto.scm
parent8ce24834216d357994bedba58bed500e6df6fd5a (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 600dfc63d1c..212b78fdb27 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