nixpkgs/pkgs/development/python-modules/cronsim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
621 B
Nix
Raw Normal View History

2022-06-02 10:40:15 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
2022-06-02 10:40:15 +00:00
}:
buildPythonPackage rec {
pname = "cronsim";
2022-09-29 01:01:00 +00:00
version = "2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
2022-06-02 10:40:15 +00:00
src = fetchPypi {
inherit pname version;
2022-09-29 01:01:00 +00:00
hash = "sha256-ebFYIOANXZLmM6cbovwBCJH8Wr/HlJbOR9YGp8Jw7pc=";
2022-06-02 10:40:15 +00:00
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"cronsim"
];
2022-06-02 10:40:15 +00:00
meta = with lib; {
description = "Cron expression parser and evaluator";
homepage = "https://github.com/cuu508/cronsim";
license = licenses.bsd3;
maintainers = with maintainers; [ phaer ];
};
}