diff --git a/pkgs/development/python-modules/fastecdsa/default.nix b/pkgs/development/python-modules/fastecdsa/default.nix index e305f1e6d658..aaca3df71aa5 100644 --- a/pkgs/development/python-modules/fastecdsa/default.nix +++ b/pkgs/development/python-modules/fastecdsa/default.nix @@ -3,21 +3,28 @@ , fetchPypi , gmp , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "fastecdsa"; - version = "2.2.3"; + version = "2.3.1"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - sha256 = "269bdb0f618b38f8f6aec9d23d23db518046c3cee01a954fa6aa7322a1a7db8f"; + hash = "sha256-8ZjORPaUbKuwKYip9J0U78QQ26XiEemDIbqdhzeyP/g="; }; - buildInputs = [ gmp ]; + buildInputs = [ + gmp + ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; disabledTestPaths = [ # skip tests which require being online to download test vectors @@ -30,11 +37,14 @@ buildPythonPackage rec { # but the installed package works just fine doCheck = false; - pythonImportsCheck = [ "fastecdsa" ]; + pythonImportsCheck = [ + "fastecdsa" + ]; meta = with lib; { description = "Fast elliptic curve digital signatures"; homepage = "https://github.com/AntonKueltz/fastecdsa"; + changelog = "https://github.com/AntonKueltz/fastecdsa/blob/v${version}/CHANGELOG.md"; license = licenses.unlicense; maintainers = with maintainers; [ prusnak ]; };