about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJan Hrnko <jan.hrnko@satoshilabs.com>2019-07-31 19:46:43 +0200
committerJan Hrnko <jan.hrnko@satoshilabs.com>2019-07-31 21:00:44 +0200
commit68b647a3b6fcedc4dd3efc6f584ff86c50f91787 (patch)
treee57b9a78ccc243c200e6c5c1ecfc85d0c1bc4237 /pkgs/development/python-modules
parent7a7cf6faf05faa7751d4ba0b4f0869600ab7e2b3 (diff)
downloadnixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar.gz
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar.bz2
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar.lz
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar.xz
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.tar.zst
nixlib-68b647a3b6fcedc4dd3efc6f584ff86c50f91787.zip
pythonPackages.shamir-mnemonic: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/shamir-mnemonic/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/shamir-mnemonic/default.nix b/pkgs/development/python-modules/shamir-mnemonic/default.nix
new file mode 100644
index 000000000000..907f87dcd474
--- /dev/null
+++ b/pkgs/development/python-modules/shamir-mnemonic/default.nix
@@ -0,0 +1,22 @@
+{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:
+
+buildPythonPackage rec {
+  pname = "shamir-mnemonic";
+  version = "0.1.0";
+
+  disabled = !isPy3k;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121";
+  };
+
+  propagatedBuildInputs = [ click colorama ];
+
+  meta = {
+    description = "Reference implementation of SLIP-0039";
+    homepage = "https://github.com/trezor/python-shamir-mnemonic";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ "1000101" ];
+  };
+}