python3Packages.starkbank-ecdsa: modernize

This commit is contained in:
Fabian Affolter
2026-04-26 20:08:41 +02:00
committed by GitHub
parent 87bd3ddb59
commit c01d56aea8
@@ -3,20 +3,23 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "starkbank-ecdsa";
version = "2.3.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "starkbank";
repo = "ecdsa-python";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-5yF2tVCgHJX++NncWiYfLE0P98Sxy91VN3qgc8PSLOI=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
@@ -36,7 +39,7 @@ buildPythonPackage rec {
meta = {
description = "Python ECDSA library";
homepage = "https://github.com/starkbank/ecdsa-python";
license = with lib.licenses; [ mit ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})