python3Packages.timetagger: disable tests on python versions older than 3.10
This commit is contained in:
parent
ef0bee5047
commit
d90ae4bfac
|
@ -3,6 +3,8 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
|
, pytest
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
|
@ -33,8 +35,12 @@ python3Packages.buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
requests
|
requests
|
||||||
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# fails with `No module named pytest` on python version 3.10
|
||||||
|
doCheck = pythonOlder "3.10";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://timetagger.app";
|
homepage = "https://timetagger.app";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
|
Loading…
Reference in a new issue