Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cronsim / default.nix
blob098dbe711d9d58840c784f9e6a49403e72eebce4
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "cronsim";
10   version = "2.5";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "cuu508";
17     repo = "cronsim";
18     rev = "refs/tags/${version}";
19     hash = "sha256-TSVFkMCMmrMXaPJPPNjIML+z98i1iIYuKH7hHiZnJkg=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "cronsim"
28   ];
30   meta = with lib; {
31     description = "Cron expression parser and evaluator";
32     homepage = "https://github.com/cuu508/cronsim";
33     license = licenses.bsd3;
34     maintainers = with maintainers; [ phaer ];
35   };