python312Packages.rustworkx: enable tests

This commit is contained in:
natsukium 2024-11-02 22:40:10 +09:00
parent b685ddd6b8
commit 897f4ea6eb
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -13,6 +13,7 @@
libiconv,
stdenv,
lib,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -45,12 +46,17 @@ buildPythonPackage rec {
buildInputs = [ numpy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
checkInputs = [
nativeCheckInputs = [
fixtures
networkx
pytestCheckHook
testtools
];
preCheck = ''
rm -r rustworkx
'';
pythonImportsCheck = [ "rustworkx" ];
meta = with lib; {