Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / oncalendar / default.nix
blobf37261a058bda952d8cf2594a0fe2be091944043
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "oncalendar";
9   version = "1.1";
11   src = fetchFromGitHub {
12     owner = "cuu508";
13     repo = "oncalendar";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-MPKzC2QYA3tWxg19URKheAbPaiS0jXP96xR0Hyl58V0=";
16   };
18   nativeBuildInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "oncalendar" ];
22   meta = with lib; {
23     description = "A systemd OnCalendar expression parser and evaluator";
24     homepage = "https://github.com/cuu508/oncalendar";
25     license = licenses.bsd3;
26     maintainers = with maintainers; [ phaer ];
27   };