guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9f10fbdbcec7378adede2963aba63abff158a649
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Aug 13 10:37:09 2025 +0200

    gnu: python-bech32: Switch to pyproject.
    
    * gnu/packages/finance.scm (python-bech32):
    [source]: Switch to git-fetch, no tags upstream.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools, python-wheel.
    
    Change-Id: I5401ce02f539e7b1866c500852145888dcf34f8d
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/finance.scm | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index fa3a24068a..e4279071e2 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1001,21 +1001,28 @@ the Monero GUI client.")
     (license license:bsd-3)))
 
 (define-public python-bech32
-  (package
-    (name "python-bech32")
-    (version "1.2.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "bech32" version))
-              (sha256
-               (base32
-                "16fq5cfy5id9hp123ylhpl55pf38xwk0hv7sziqpig838qhvhvbx"))))
-    (build-system python-build-system)
-    (home-page "https://github.com/fiatjaf/bech32";)
-    (synopsis "Reference implementation for Bech32 and Segwit addresses")
-    (description "This package provides a python reference implementation for
+  ;; XXX: No tags upstream.
+  (let ((commit "231e4d88b15f3dc8faf7d339f365b84f6ab5cbcc")
+        (revision "0"))
+    (package
+      (name "python-bech32")
+      (version (git-version "1.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/fiatjaf/bech32";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0wq6q0yrw3x42d81v445xy4nh2qlrn7swsydgpv81dkay11kajrz"))))
+      (build-system pyproject-build-system)
+      (native-inputs (list python-setuptools python-wheel))
+      (home-page "https://github.com/fiatjaf/bech32";)
+      (synopsis "Reference implementation for Bech32 and Segwit addresses")
+      (description "This package provides a python reference implementation for
 Bech32 and segwit addresses.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public python-trezor-agent
   ;; It is called 'libagent' in pypi; i.e. this is the library as opposed to

Reply via email to