mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python312Packages.i-pi: enable tests
This commit is contained in:
parent
b08afbf6e8
commit
64f4dfaf9a
@ -6,9 +6,11 @@
|
||||
makeWrapper,
|
||||
setuptools,
|
||||
numpy,
|
||||
pytest,
|
||||
distutils,
|
||||
pytestCheckHook,
|
||||
mock,
|
||||
pytest-mock,
|
||||
pythonAtLeast,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -33,10 +35,12 @@ buildPythonPackage rec {
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
mock
|
||||
pytest-mock
|
||||
];
|
||||
] ++ lib.optional (pythonAtLeast "3.12") distutils;
|
||||
|
||||
pytestFlagsArray = [ "ipi_tests/unit_tests" ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/i-pi \
|
||||
|
Loading…
Reference in New Issue
Block a user