nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 761 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitLab, 5 pytestCheckHook, 6 python-dateutil, 7 pytz, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "crontab"; 13 version = "3.3.0"; 14 pyproject = true; 15 16 src = fetchFromGitLab { 17 owner = "doctormo"; 18 repo = "python-crontab"; 19 tag = "v${version}"; 20 hash = "sha256-eJXtvTRwokbewWrTArHJ2FXGDLvlkGA/5ZZR01koMW8="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 python-dateutil 28 pytz 29 ]; 30 31 pythonImportsCheck = [ "crontab" ]; 32 33 meta = { 34 description = "Parse and use crontab schedules in Python"; 35 homepage = "https://gitlab.com/doctormo/python-crontab/"; 36 license = lib.licenses.lgpl21Only; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}