python3Packages.timetagger: disable tests on python versions older than 3.10

This commit is contained in:
legendofmiracles 2022-01-25 19:09:39 -06:00 committed by Jonathan Ringer
parent ef0bee5047
commit d90ae4bfac

View file

@ -3,6 +3,8 @@
, fetchFromGitHub
, pytestCheckHook
, requests
, pytest
, pythonOlder
}:
python3Packages.buildPythonPackage rec {
@ -33,8 +35,12 @@ python3Packages.buildPythonPackage rec {
checkInputs = [
pytestCheckHook
requests
pytest
];
# fails with `No module named pytest` on python version 3.10
doCheck = pythonOlder "3.10";
meta = with lib; {
homepage = "https://timetagger.app";
license = licenses.gpl3;