3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 518131bba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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