python312Packages.pytools: add siphash24 support
This commit is contained in:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user