Merge pull request #213680 from wegank/eth-hash-fix

python311Packages.eth-hash: fix build
This commit is contained in:
Weijia Wang
2023-01-31 02:51:25 +01:00
committed by GitHub
@@ -4,6 +4,7 @@
, pythonOlder
, pytest
, pysha3
, safe-pysha3
, pycryptodome
}:
@@ -31,7 +32,7 @@ buildPythonPackage rec {
passthru.optional-dependencies = {
pycryptodome = [ pycryptodome ];
pysha3 = [ pysha3 ];
pysha3 = if pythonOlder "3.9" then [ pysha3 ] else [ safe-pysha3 ];
};
meta = with lib; {