gnu: python-mnemonic: Update to 0.21.

* gnu/packages/finance.scm (python-mnemonic): Update to 0.21.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: I8eae1fa7b7a920ecefb4058837af624463453abe
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Hugo Buddelmeijer 2025-12-15 18:46:57 +01:00 committed by Andreas Enge
parent 86ea7a4aae
commit 45e1b3c776
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1166,14 +1166,19 @@ settings.")
(define-public python-mnemonic
(package
(name "python-mnemonic")
(version "0.20")
(version "0.21")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mnemonic" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/trezor/python-mnemonic")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1xi5qvj2rvi5almf9c89rl7hz1z4ms04d53pg818i4vpkmivavvw"))))
(build-system python-build-system)
(base32 "1r8cdlgqpmj71ap3kyhc2nq8dn29gmj7v8dlq8kgcy91jky94n8g"))))
(build-system pyproject-build-system)
(native-inputs
(list python-poetry-core python-pytest))
(propagated-inputs
(list python-pbkdf2))
(home-page "https://github.com/trezor/python-mnemonic")