python312Packages.hkdf: revert to nose, disable tests on 3.12

This commit is contained in:
Martin Weinelt 2024-07-09 01:13:48 +02:00
parent c886f78af3
commit a9ceebaed6
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -2,7 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pynose,
pythonOlder,
nose,
setuptools,
}:
@ -22,7 +23,10 @@ buildPythonPackage {
pythonImportsCheck = [ "hkdf" ];
nativeCheckInputs = [ pynose ];
# tests rely on nose
doCheck = pythonOlder "3.12";
nativeCheckInputs = [ nose ];
checkPhase = ''
runHook preCheck