2019-07-31 18:46:43 +01:00
|
|
|
{ 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 ];
|
|
|
|
|
2019-08-18 20:16:19 +01:00
|
|
|
meta = with lib; {
|
2019-07-31 18:46:43 +01:00
|
|
|
description = "Reference implementation of SLIP-0039";
|
|
|
|
homepage = "https://github.com/trezor/python-shamir-mnemonic";
|
2019-08-18 20:16:19 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers."1000101" ];
|
2019-07-31 18:46:43 +01:00
|
|
|
};
|
|
|
|
}
|