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