evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / oncalendar / default.nix
blob85d163a77eefade860934877a1cbc6c6ad9937b9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6 }:
8 buildPythonPackage rec {
9   pname = "oncalendar";
10   version = "1.1";
12   src = fetchFromGitHub {
13     owner = "cuu508";
14     repo = "oncalendar";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-MPKzC2QYA3tWxg19URKheAbPaiS0jXP96xR0Hyl58V0=";
17   };
19   nativeBuildInputs = [ pytestCheckHook ];
21   pythonImportsCheck = [ "oncalendar" ];
23   meta = with lib; {
24     description = "Systemd OnCalendar expression parser and evaluator";
25     homepage = "https://github.com/cuu508/oncalendar";
26     license = licenses.bsd3;
27     maintainers = with maintainers; [ phaer ];
28   };