Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 684 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python-dateutil 5, pytestCheckHook 6, pytz 7, natsort 8, tzlocal 9}: 10 11buildPythonPackage rec { 12 pname = "croniter"; 13 version = "1.0.9"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "708532f70584207e23ef2989ca40f367e6238bfe050133a1aff43e1e0e6f6092"; 18 }; 19 20 propagatedBuildInputs = [ 21 python-dateutil 22 natsort 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 pytz 28 tzlocal 29 ]; 30 31 meta = with lib; { 32 description = "croniter provides iteration for datetime object with cron like format"; 33 homepage = "https://github.com/kiorky/croniter"; 34 license = licenses.mit; 35 maintainers = [ maintainers.costrouc ]; 36 }; 37}