mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
cron-descriptor: use unittestCheckHook
This commit is contained in:
parent
5593ad598a
commit
7a2890b5f5
@ -1,8 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
python,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
unittestCheckHook,
|
||||
mock,
|
||||
setuptools,
|
||||
}:
|
||||
@ -25,11 +25,11 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py test
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cron_descriptor" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user