gnu: Add python-bip39.

* gnu/packages/python-xyz.scm (python-bip39): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Attila Lendvai 2022-03-03 10:11:05 +01:00 committed by Ricardo Wurmus
parent aed1f47c4d
commit 4d336ecf20
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1262,6 +1262,29 @@ (define-public python-bidict
for working with bidirectional mappings in Python.")
(license license:mpl2.0)))
(define-public python-bip39
(package
(name "python-bip39")
(version "0.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bip39" version))
(sha256
(base32 "18m7d3gi7vj2zi0bl1z7m0nhcj6i8j9vj4vil276siagnpkv64ry"))))
(build-system python-build-system)
(native-inputs (list python-pytest))
(home-page "https://github.com/de-centralized-systems/python-bip39/")
(synopsis "Self-contained and simple BIP39 implementation in Python")
(description
"This package provides a self-contained and simple BIP39
implementation written in Python. It includes a @code{bip39.py} executable.
BIP39 is a standardized mapping between binary data (the @emph{entropy}),
and a list of words that are easier to remember for humans (the
@emph{mnemonic}).")
(license license:expat)))
(define-public python-bitarray
(package
(name "python-bitarray")