mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 15:26:34 +01:00
39 lines
761 B
Nix
39 lines
761 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitLab,
|
|
pytestCheckHook,
|
|
python-dateutil,
|
|
pytz,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "crontab";
|
|
version = "3.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "doctormo";
|
|
repo = "python-crontab";
|
|
tag = "v${version}";
|
|
hash = "sha256-eJXtvTRwokbewWrTArHJ2FXGDLvlkGA/5ZZR01koMW8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
python-dateutil
|
|
pytz
|
|
];
|
|
|
|
pythonImportsCheck = [ "crontab" ];
|
|
|
|
meta = {
|
|
description = "Parse and use crontab schedules in Python";
|
|
homepage = "https://gitlab.com/doctormo/python-crontab/";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|