Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pythonegardia / default.nix
blob1affca4ca65f40a35e4360b9d6136e30319d77c2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pythonegardia";
10   version = "1.0.52";
11   format = "setuptools";
13   disabled = pythonOlder "3.8";
15   src = fetchFromGitHub {
16     owner = "jeroenterheerdt";
17     repo = "python-egardia";
18     rev = "refs/tags/v${version}";
19     sha256 = "sha256-lQ/7tH74MllwFe2kF5OcYSb4rQd+yJU1W6ztG4Z6Y0U=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   # Project has no tests, only two test file for manual interaction
27   doCheck = false;
29   pythonImportsCheck = [
30     "pythonegardia"
31   ];
33   meta = with lib; {
34     description = "Python interface with Egardia/Woonveilig alarms";
35     homepage = "https://github.com/jeroenterheerdt/python-egardia";
36     changelog = "https://github.com/jeroenterheerdt/python-egardia/releases/tag/v${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };