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" ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 68718fe9f6bc..ed47a42e113a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4716,6 +4716,8 @@ in { simplegeneric = callPackage ../development/python-modules/simplegeneric { }; + shamir-mnemonic = callPackage ../development/python-modules/shamir-mnemonic { }; + shodan = callPackage ../development/python-modules/shodan { }; should-dsl = callPackage ../development/python-modules/should-dsl { };