Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions pkgs/development/python-modules/fastecdsa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,28 @@
, fetchPypi
, gmp
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
pname = "fastecdsa";
version = "2.2.2";
version = "2.2.3";
format = "setuptools";

disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "1eb6f3ac86ec483a10df62fcda1fb9a9d5d895a436871a8aa935dd20ccd82c6f";
sha256 = "sha256-JpvbD2GLOPj2rsnSPSPbUYBGw87gGpVPpqpzIqGn248=";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep hex notation of the hash so it could be trivially checked on PyPI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will update it.

};

buildInputs = [ gmp ];
buildInputs = [
gmp
];

checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];

disabledTestPaths = [
# skip tests which require being online to download test vectors
Expand All @@ -30,12 +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";
license = licenses.unlicense;
license = licenses.cc0;
maintainers = with maintainers; [ prusnak ];
};
}