11 buildPythonPackage rec {
12 pname = "python-crontab";
16 disabled = pythonOlder "3.7";
19 pname = "python_crontab";
21 hash = "sha256-QAZ9HdOa3jRgsq2FV8dlFRTNOFHe//9hxcYOEifFw2s=";
24 build-system = [ setuptools ];
26 dependencies = [ python-dateutil ];
28 nativeCheckInputs = [ pytestCheckHook ];
31 "test_07_non_posix_shell"
32 # doctest that assumes /tmp is writeable, awkward to patch
34 # Test is assuming $CURRENT_YEAR is not a leap year
35 "test_19_frequency_at_month"
36 "test_20_frequency_at_year"
39 pythonImportsCheck = [ "crontab" ];
42 description = "Python API for crontab";
44 Crontab module for reading and writing crontab files
45 and accessing the system cron automatically and simply using a direct API.
47 homepage = "https://gitlab.com/doctormo/python-crontab/";
48 license = licenses.lgpl3Plus;
49 maintainers = with maintainers; [ kfollesdal ];