Merge pull request #103970 from kfollesdal/add-python-crontab
pythonPackage.python-crontab: init at 2.5.1
This commit is contained in:
commit
712c2405b1
2 changed files with 29 additions and 0 deletions
27
pkgs/development/python-modules/python-crontab/default.nix
Normal file
27
pkgs/development/python-modules/python-crontab/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue