git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #103970 from kfollesdal/add-python-crontab

pythonPackage.python-crontab: init at 2.5.1

commit712c2405b1c4ddf461a1eafd640165583d1c0cca authorMartin Weinelt <mweinelt@users.noreply.github.com> dateSat 21 Nov 2020, 16:50 (6 years ago) parentc18b90bef90af4
2 files changed+29
pkgs/development/python-modules/python-crontab/default.nix+27 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/python-crontab/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytestCheckHook }:
2+
3+buildPythonPackage 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+}
pkgs/top-level/python-packages.nix+2
@@ -5788,6 +5788,8 @@ in {
57885788
57895789 python-constraint = callPackage ../development/python-modules/python-constraint { };
57905790
5791+ python-crontab = callPackage ../development/python-modules/python-crontab { };
5792+
57915793 python-ctags3 = callPackage ../development/python-modules/python-ctags3 { };
57925794
57935795 python-daemon = callPackage ../development/python-modules/python-daemon { };