From f810504d283f65ec984e57b8b6012632ef5c4968 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 12 Feb 2025 16:13:57 +0100 Subject: [PATCH] python3Packages.shamir-mnemonic: 0.2.2 -> 0.3.0 --- .../shamir-mnemonic/default.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/shamir-mnemonic/default.nix b/pkgs/development/python-modules/shamir-mnemonic/default.nix index 11d580eaf889..13303cceba89 100644 --- a/pkgs/development/python-modules/shamir-mnemonic/default.nix +++ b/pkgs/development/python-modules/shamir-mnemonic/default.nix @@ -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; {