Skip to content

Commit e09d753

Browse files
authored
python3Packages.eth-hash: fix build with structuredAttrs (#471526)
2 parents cc5b07b + faec7b8 commit e09d753

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/development/python-modules/eth-hash/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ buildPythonPackage rec {
3232
]
3333
++ optional-dependencies.pycryptodome
3434
# safe-pysha3 is not available on pypy
35-
++ lib.optional (!isPyPy) optional-dependencies.pysha3;
35+
++ lib.optionals (!isPyPy) optional-dependencies.pysha3;
3636

3737
# Backends need to be tested separately and can not use hook
3838
checkPhase = ''
@@ -51,6 +51,8 @@ buildPythonPackage rec {
5151
pysha3 = [ safe-pysha3 ];
5252
};
5353

54+
__structuredAttrs = true;
55+
5456
meta = {
5557
description = "Ethereum hashing function keccak256";
5658
homepage = "https://github.com/ethereum/eth-hash";

0 commit comments

Comments
 (0)