diff --git a/pkgs/development/python-modules/pytools/default.nix b/pkgs/development/python-modules/pytools/default.nix index af359bda26b2..def5b583843a 100644 --- a/pkgs/development/python-modules/pytools/default.nix +++ b/pkgs/development/python-modules/pytools/default.nix @@ -8,6 +8,7 @@ pytestCheckHook, pythonOlder, typing-extensions, + siphash24, }: buildPythonPackage rec { @@ -31,10 +32,12 @@ buildPythonPackage rec { optional-dependencies = { numpy = [ numpy ]; - # siphash = [ siphash ]; + siphash = [ siphash24 ]; }; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ] ++ optional-dependencies.siphash; pythonImportsCheck = [ "pytools" @@ -42,14 +45,6 @@ buildPythonPackage rec { "pytools.lex" ]; - disabledTests = [ - # siphash is not available - "test_class_hashing" - "test_dataclass_hashing" - "test_datetime_hashing" - "test_hash_function" - ]; - meta = { description = "Miscellaneous Python lifesavers"; homepage = "https://github.com/inducer/pytools/";