mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
python312Packages.rustworkx: enable tests
This commit is contained in:
parent
b685ddd6b8
commit
897f4ea6eb
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user