ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / cronsim / default.nix
blobf924a13dc2537a4b015bb832a7ab080d39a016ed
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "cronsim";
11   version = "2.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "cuu508";
18     repo = "cronsim";
19     rev = "refs/tags/${version}";
20     hash = "sha256-WJ3v2cqAKZkXp1u8xJ0aFuyHPq0gn24DRxpnq5cH/90=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "cronsim" ];
27   meta = with lib; {
28     description = "Cron expression parser and evaluator";
29     homepage = "https://github.com/cuu508/cronsim";
30     license = licenses.bsd3;
31     maintainers = with maintainers; [ phaer ];
32   };