unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54229] [PATCH] gnu: Add python-bip39.
@ 2022-03-03  9:11 Attila Lendvai
  2022-04-04  8:32 ` bug#54229: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Attila Lendvai @ 2022-03-03  9:11 UTC (permalink / raw)
  To: 54229; +Cc: Attila Lendvai

* gnu/packages/python-xyz.scm (python-bip39): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c05502388e..ea6694972e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1242,6 +1242,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")
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54229: [PATCH] gnu: Add python-bip39.
  2022-03-03  9:11 [bug#54229] [PATCH] gnu: Add python-bip39 Attila Lendvai
@ 2022-04-04  8:32 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2022-04-04  8:32 UTC (permalink / raw)
  To: 54229-done

Thank you for the patch!  I pushed it with commit
4d336ecf200e1011eed6433f4a74e3fa7272b3af.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-04  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03  9:11 [bug#54229] [PATCH] gnu: Add python-bip39 Attila Lendvai
2022-04-04  8:32 ` bug#54229: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).