mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
pythonPackages.oncalendar: use pytestCheckHook
This commit is contained in:
parent
4dc7775617
commit
08746b5cf7
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,9 +15,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-eQYxOnL4/TJbY/nijcPl8TqK2MrwcdISKGfZQoI7828=";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py test
|
||||
'';
|
||||
nativeBuildInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "oncalendar" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user