python311Packages.eth-hash: fix build

This commit is contained in:
Weijia Wang 2023-01-31 01:56:49 +01:00
parent 41b23132eb
commit ea43ffa110

View File

@ -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; {