about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pycomfoconnect/default.nix
blob: 0c35dc4d5bac3fadb88f280b363428526431a804 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchFromGitHub
, protobuf
}:

buildPythonPackage rec {
  pname = "pycomfoconnect";
  version = "0.4";

  src = fetchFromGitHub {
    owner = "michaelarnauts";
    repo = "comfoconnect";
    rev = version;
    sha256 = "0bipzv68yw056iz9m2g9h40hzrwd058a7crxp0xbq4rw2d8j0jn6";
  };

  propagatedBuildInputs = [
    protobuf
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "pycomfoconnect" ];

  meta = with lib; {
    description = "Python module to interact with ComfoAir Q350/450/600 units";
    homepage = "https://github.com/michaelarnauts/comfoconnect";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}