python3Packages.shamir-mnemonic: 0.2.2 -> 0.3.0

This commit is contained in:
Pavol Rusnak
2025-02-12 16:13:57 +01:00
parent f82abdfb78
commit f810504d28
@@ -1,36 +1,31 @@
{
lib,
buildPythonPackage,
isPy3k,
fetchFromGitHub,
attrs,
poetry-core,
click,
colorama,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "shamir-mnemonic";
version = "0.2.2";
format = "setuptools";
disabled = !isPy3k;
version = "0.3.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "trezor";
repo = "python-${pname}";
rev = "v${version}";
hash = "sha256-b9tBXN9dBdAeGg3xf5ZBdd6kPpFzseJl6wRTTfNZEwo=";
tag = "v${version}";
hash = "sha256-KjZbxA92h25ghbItdmPvkSPvDZUSRWkl4vnJDBMN71s=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [
attrs
click
colorama
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "shamir_mnemonic" ];
meta = with lib; {