Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pycomfoconnect / default.nix
bloba325583648ffb1e4d065df3ac6fef14c3c1c359b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , protobuf
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pycomfoconnect";
10   version = "0.5.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.9";
15   src = fetchFromGitHub {
16     owner = "michaelarnauts";
17     repo = "comfoconnect";
18     rev = "refs/tags/${version}";
19     hash = "sha256-I/0vCgSEi6mgYg1fMH4Ha7PoonewtqYYsvXZT8y4rJE=";
20   };
22   propagatedBuildInputs = [
23     protobuf
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "pycomfoconnect"
31   ];
33   meta = with lib; {
34     description = "Python module to interact with ComfoAir Q350/450/600 units";
35     homepage = "https://github.com/michaelarnauts/comfoconnect";
36     changelog = "https://github.com/michaelarnauts/comfoconnect/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };