python311Packages.eth-hash: fix build
This commit is contained in:
parent
41b23132eb
commit
ea43ffa110
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user