python3Packages.starkbank-ecdsa: 1.1.1 -> 2.0.0

This commit is contained in:
Fabian Affolter 2021-10-09 12:37:19 +02:00
parent 807370df94
commit 988a8e2ca4

View File

@ -6,18 +6,31 @@
buildPythonPackage rec {
pname = "starkbank-ecdsa";
version = "1.1.1";
version = "2.0.0";
src = fetchFromGitHub {
owner = "starkbank";
repo = "ecdsa-python";
rev = "v${version}";
sha256 = "1x86ia0385c76nzqa00qyrvnn4j174n6piq85m7ar5i0ij7qky9a";
sha256 = "sha256-MTd9aeX6UavRua0hnuy5qY5kltzSoyvv+LcL5EvU5Sc=";
};
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "-v tests/*.py" ];
pythonImportsCheck = [ "ellipticcurve" ];
checkInputs = [
pytestCheckHook
];
preCheck = ''
cd tests
'';
pytestFlagsArray = [
"-v"
"*.py"
];
pythonImportsCheck = [
"ellipticcurve"
];
meta = with lib; {
description = "Python ECDSA library";