1{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "python-crontab";
5 version = "2.5.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "4bbe7e720753a132ca4ca9d4094915f40e9d9dc8a807a4564007651018ce8c31";
10 };
11
12 checkInputs = [ pytestCheckHook ];
13 disabledTests = [ "test_07_non_posix_shell"];
14
15 propagatedBuildInputs = [ python-dateutil ];
16
17 meta = with lib; {
18 description = "Python API for crontab";
19 longDescription = ''
20 Crontab module for reading and writing crontab files
21 and accessing the system cron automatically and simply using a direct API.
22 '';
23 homepage = "https://pypi.org/project/python-crontab/";
24 license = licenses.lgpl3Plus;
25 maintainers = with maintainers; [ kfollesdal ];
26 };
27}