biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / cronsim / default.nix
blob2ecb45c3a73af1e542060b6b312e1fdf1d17e499
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "cronsim";
11   version = "2.5";
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-TSVFkMCMmrMXaPJPPNjIML+z98i1iIYuKH7hHiZnJkg=";
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   };