diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-13 10:37:09 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-14 13:15:25 +0100 |
| commit | 9f10fbdbcec7378adede2963aba63abff158a649 (patch) | |
| tree | 03e6d6ff83cc72cffac72904c1d2e521c0c8e47d | |
| parent | e28aa5ad126cc4209e30afdb4719dd0a5822aa44 (diff) | |
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 <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/finance.scm | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index fa3a24068a9..e4279071e2a 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 |
