aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/python-crontab/default.nix
blob: f5e368de03725a01160c8e86a069bdd232a1b88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytestCheckHook }:

buildPythonPackage rec {
  pname = "python-crontab";
  version = "2.5.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "4bbe7e720753a132ca4ca9d4094915f40e9d9dc8a807a4564007651018ce8c31";
  };

  checkInputs = [ pytestCheckHook ];
  disabledTests = [ "test_07_non_posix_shell"];

  propagatedBuildInputs = [ python-dateutil ];

  meta = with lib; {
    description = "Python API for crontab";
    longDescription = ''
      Crontab module for reading and writing crontab files
      and accessing the system cron automatically and simply using a direct API.
    '';
    homepage = "https://pypi.org/project/python-crontab/";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ kfollesdal ];
  };
}