python3Packages.timetagger: disable tests on python versions older than 3.10
This commit is contained in:
parent
ef0bee5047
commit
d90ae4bfac
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue