guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 7e3edc04f0c6164479e8614c2409b9f586230bcf
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Aug 26 01:36:10 2025 +0200

    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 <[email protected]>
---
 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 600dfc63d1..212b78fdb2 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

Reply via email to