Merge pull request #103970 from kfollesdal/add-python-crontab

pythonPackage.python-crontab: init at 2.5.1
This commit is contained in:
Martin Weinelt 2020-11-21 16:50:10 +01:00 committed by GitHub
commit 712c2405b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -5788,6 +5788,8 @@ in {
python-constraint = callPackage ../development/python-modules/python-constraint { };
python-crontab = callPackage ../development/python-modules/python-crontab { };
python-ctags3 = callPackage ../development/python-modules/python-ctags3 { };
python-daemon = callPackage ../development/python-modules/python-daemon { };