python3Packages.shamir-mnemonic: 0.1.0 -> 0.2.0
This commit is contained in:
parent
c72b72a7c1
commit
20d0111526
|
@ -1,22 +1,40 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchFromGitHub
|
||||||
|
, attrs
|
||||||
|
, click
|
||||||
|
, colorama
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "shamir-mnemonic";
|
pname = "shamir-mnemonic";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "trezor";
|
||||||
sha256 = "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121";
|
repo = "python-${pname}";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0lkkbl50n8g5z44x7rk1ly6ld0vlassahwagm8b15bvxfi0q9yqb";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ click colorama ];
|
propagatedBuildInputs = [
|
||||||
|
attrs
|
||||||
|
click
|
||||||
|
colorama
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "shamir_mnemonic" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Reference implementation of SLIP-0039";
|
description = "Reference implementation of SLIP-0039";
|
||||||
homepage = "https://github.com/trezor/python-shamir-mnemonic";
|
homepage = "https://github.com/trezor/python-shamir-mnemonic";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ _1000101 ];
|
maintainers = with maintainers; [ _1000101 prusnak ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue