diff options
author | Jan Hrnko <jan.hrnko@satoshilabs.com> | 2019-07-31 19:46:43 +0200 |
---|---|---|
committer | Jan Hrnko <jan.hrnko@satoshilabs.com> | 2019-07-31 21:00:44 +0200 |
commit | 68b647a3b6fcedc4dd3efc6f584ff86c50f91787 (patch) | |
tree | e57b9a78ccc243c200e6c5c1ecfc85d0c1bc4237 /pkgs/development/python-modules/shamir-mnemonic | |
parent | 7a7cf6faf05faa7751d4ba0b4f0869600ab7e2b3 (diff) |
pythonPackages.shamir-mnemonic: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/shamir-mnemonic')
-rw-r--r-- | pkgs/development/python-modules/shamir-mnemonic/default.nix | 22 |
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 0000000000000..907f87dcd4746 --- /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" ]; + }; +} |