mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00: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