1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 21:39:21 +03:00
nixpkgs/pkgs/development/python-modules/python-crontab/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
885 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytestCheckHook }:
buildPythonPackage rec {
pname = "python-crontab";
version = "2.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-shr0ZHx7u4SP7y8CBhbGsCidy5+UtPmRpVMQ/5vsV0k=";
};
checkInputs = [ pytestCheckHook ];
disabledTests = [
"test_07_non_posix_shell"
# doctest that assumes /tmp is writeable, awkward to patch
"test_03_usage"
];
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 ];
};
}