From faec7b8323e852a0038d865aa65a01f4f8bca766 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 17 Dec 2025 02:44:48 +0100 Subject: [PATCH] python3Packages.eth-hash: fix build with structuredAttrs --- pkgs/development/python-modules/eth-hash/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/eth-hash/default.nix b/pkgs/development/python-modules/eth-hash/default.nix index cea7774011cf..c2d6683d349c 100644 --- a/pkgs/development/python-modules/eth-hash/default.nix +++ b/pkgs/development/python-modules/eth-hash/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { ] ++ optional-dependencies.pycryptodome # safe-pysha3 is not available on pypy - ++ lib.optional (!isPyPy) optional-dependencies.pysha3; + ++ lib.optionals (!isPyPy) optional-dependencies.pysha3; # Backends need to be tested separately and can not use hook checkPhase = '' @@ -51,6 +51,8 @@ buildPythonPackage rec { pysha3 = [ safe-pysha3 ]; }; + __structuredAttrs = true; + meta = { description = "Ethereum hashing function keccak256"; homepage = "https://github.com/ethereum/eth-hash";