aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-12-26 01:13:48 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-12-26 01:13:48 +0100
commit6e9749ef8fad868272b0526ba23de4f3cf81ec5d (patch)
tree62146350767933f84911a09dd6825372c8016e63 /gnu/packages/finance.scm
parent00d3f022b386713ab5d14a2ddfdf7f0fb866f366 (diff)
downloadguix-6e9749ef8fad868272b0526ba23de4f3cf81ec5d.tar
guix-6e9749ef8fad868272b0526ba23de4f3cf81ec5d.tar.gz
gnu: Add python-mnemonic.
* gnu/packages/finance.scm (python-mnemonic, python2-mnemonic): New variables.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ad36502810..cb0cfda25e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -533,3 +533,26 @@ Ledger Nano as a hardware SSH/GPG agent.")
(define-public python2-trezor-agent
(package-with-python2 python-trezor-agent))
+
+(define-public python-mnemonic
+ (package
+ (name "python-mnemonic")
+ (version "0.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mnemonic" version))
+ (sha256
+ (base32
+ "07bzfa5di6nv5xwwcwbypnflpj50wlfczhh6q6hg8w13g5m319q2"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pbkdf2" ,python-pbkdf2)))
+ (home-page "https://github.com/trezor/python-mnemonic")
+ (synopsis "Implementation of Bitcoin BIP-0039")
+ (description "@code{mnemonic} is a library that provides an implementation
+of Bitcoin BIP-0039.")
+ (license license:expat)))
+
+(define-public python2-mnemonic
+ (package-with-python2 python-mnemonic))