python3Packages.shamir-mnemonic: 0.2.2 -> 0.3.0

+7 -12
+7 -12
pkgs/development/python-modules/shamir-mnemonic/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - isPy3k, 5 4 fetchFromGitHub, 6 - attrs, 5 + poetry-core, 7 6 click, 8 7 colorama, 9 - pytestCheckHook, 10 8 }: 11 9 12 10 buildPythonPackage rec { 13 11 pname = "shamir-mnemonic"; 14 - version = "0.2.2"; 15 - format = "setuptools"; 16 - 17 - disabled = !isPy3k; 12 + version = "0.3.0"; 13 + format = "pyproject"; 18 14 19 15 src = fetchFromGitHub { 20 16 owner = "trezor"; 21 17 repo = "python-${pname}"; 22 - rev = "v${version}"; 23 - hash = "sha256-b9tBXN9dBdAeGg3xf5ZBdd6kPpFzseJl6wRTTfNZEwo="; 18 + tag = "v${version}"; 19 + hash = "sha256-KjZbxA92h25ghbItdmPvkSPvDZUSRWkl4vnJDBMN71s="; 24 20 }; 25 21 22 + build-system = [ poetry-core ]; 23 + 26 24 propagatedBuildInputs = [ 27 - attrs 28 25 click 29 26 colorama 30 27 ]; 31 - 32 - nativeCheckInputs = [ pytestCheckHook ]; 33 28 34 29 pythonImportsCheck = [ "shamir_mnemonic" ]; 35 30