pythonPackages.croniter: init at 0.3.30

This commit is contained in:
Chris Ostrouchov 2019-07-18 09:17:06 -04:00 committed by Ariel
parent 3c531669b1
commit 5498d4aaed
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytest
, pytz
}:
buildPythonPackage rec {
pname = "croniter";
version = "0.3.30";
src = fetchPypi {
inherit pname version;
sha256 = "538adeb3a7f7816c3cdec6db974c441620d764c25ff4ed0146ee7296b8a50590";
};
propagatedBuildInputs = [
python-dateutil
];
checkInputs = [
pytest
pytz
];
checkPhase = ''
pytest src/croniter
'';
meta = with lib; {
description = "croniter provides iteration for datetime object with cron like format";
homepage = http://github.com/kiorky/croniter;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1671,6 +1671,8 @@ in {
crc16 = callPackage ../development/python-modules/crc16 { };
croniter = callPackage ../development/python-modules/croniter { };
csscompressor = callPackage ../development/python-modules/csscompressor {};
csvs-to-sqlite = callPackage ../development/python-modules/csvs-to-sqlite { };