python3Packages.cronsim: init at 2.1

This commit is contained in:
phaer 2022-06-02 12:40:15 +02:00
parent cccdb0558d
commit 63d86dd9d3
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cronsim";
version = "2.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-nwlSAbD+y0l9jyVSVShzWeC7nC5RZRD/kAhCi3Nd9xY=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "cronsim" ];
meta = with lib; {
description = "Cron expression parser and evaluator";
homepage = "https://github.com/cuu508/cronsim";
license = licenses.bsd3;
maintainers = with maintainers; [ phaer ];
};
}

View file

@ -1978,6 +1978,8 @@ in {
croniter = callPackage ../development/python-modules/croniter { };
cronsim = callPackage ../development/python-modules/cronsim { };
crossplane = callPackage ../development/python-modules/crossplane { };
crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };