21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.6";
31 sha256 = "sha256-ncMwiMwYivaFu5jrAsm1oCuXP/PZ2ALT+M+CmV6dtFo=";
39 propagatedBuildInputs = [
59 substituteInPlace requirements.txt \
60 --replace "notify-py==0.3.1" "notify-py>=0.3.1" \
61 --replace "click==8.0.3" "click>=8.0.3" \
62 --replace "pbr==5.8.0" "pbr>=5.8.0" \
63 --replace "inquirer==2.9.1" "inquirer>=2.9.1"
64 substituteInPlace pytest.ini \
65 --replace ' --cov toggl -m "not premium"' ""
69 export TOGGL_API_TOKEN=your_api_token
70 export TOGGL_PASSWORD=toggl_password
71 export TOGGL_USERNAME=user@example.com
82 pythonImportsCheck = [
87 description = "Command line tool and set of Python wrapper classes for interacting with toggl's API";
88 homepage = "https://toggl.uhlir.dev/";
89 license = licenses.mit;
90 maintainers = with maintainers; [ mmahut ];