python3Packages.eth-keys: 0.6.0 -> 0.7.0

This commit is contained in:
Ben Siraphob
2025-07-30 00:28:48 -07:00
parent b48f0d7d32
commit 64a7489c3f
@@ -15,18 +15,19 @@
coincurve,
eth-hash,
isPyPy,
pydantic,
}:
buildPythonPackage rec {
pname = "eth-keys";
version = "0.6.0";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ethereum";
repo = "eth-keys";
tag = "v${version}";
hash = "sha256-HyOfuzwldtqjjowW7HGdZ8RNMXNK3y2NrXUoeMlWJjs=";
hash = "sha256-H/s/D4f4tqP/WTil9uLmFw2Do9sEjMWwEreQEooeszQ=";
};
build-system = [ setuptools ];
@@ -42,6 +43,7 @@ buildPythonPackage rec {
hypothesis
pyasn1
pytestCheckHook
pydantic
]
++ optional-dependencies.coincurve
++ lib.optional (!isPyPy) eth-hash.optional-dependencies.pysha3
@@ -49,6 +51,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "eth_keys" ];
disabledTests = [ "test_install_local_wheel" ];
optional-dependencies = {
coincurve = [ coincurve ];
};