Merge pull request #283866 from fabaff/heudiconv-bump
python311Packages.crontab: init at 0.23.0
This commit is contained in:
commit
cdecb4244d
45
pkgs/development/python-modules/crontab/default.nix
Normal file
45
pkgs/development/python-modules/crontab/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crontab";
|
||||
version = "0.23.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "josiahcarlson";
|
||||
repo = "parse-crontab";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-8vMkgBU1jIluo9+hAvk2KNM+Wn0+PvJqFNwX+JLXD+w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
python-dateutil
|
||||
pytz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"crontab"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse and use crontab schedules in Python";
|
||||
homepage = "https://github.com/josiahcarlson/parse-crontab";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2440,6 +2440,8 @@ self: super: with self; {
|
||||
|
||||
cronsim = callPackage ../development/python-modules/cronsim { };
|
||||
|
||||
crontab = callPackage ../development/python-modules/crontab { };
|
||||
|
||||
crossplane = callPackage ../development/python-modules/crossplane { };
|
||||
|
||||
crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };
|
||||
|
Loading…
Reference in New Issue
Block a user