Merge pull request #141079 from fabaff/bump-starkbank-ecdsa
python3Packages.starkbank-ecdsa: 1.1.1 -> 2.0.0
This commit is contained in:
commit
27a748c74f
2 changed files with 22 additions and 7 deletions
|
@ -11,13 +11,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "sendgrid";
|
||||
version = "6.8.2";
|
||||
version = "6.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "sendgrid-python";
|
||||
rev = version;
|
||||
sha256 = "sha256-TaewVBWQ6D5TH1TGXlXVBnW7K4HS/cFxJ6bcMv2DB+c=";
|
||||
sha256 = "sha256-kJbpYLM+GpyAHEnO2mqULOYyxIpOrmGeSMd4wJccz/8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -45,5 +45,7 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/sendgrid/sendgrid-python";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
# No support for new starkbank-ecdsa releases
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue