paperwork: fix installing translations (#370379)
[NixPkgs.git] / pkgs / development / python-modules / pycomfoconnect / default.nix
blob605f4676b453a11335e108a062d29595a1e4146c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   protobuf,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "pycomfoconnect";
11   version = "0.5.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.9";
16   src = fetchFromGitHub {
17     owner = "michaelarnauts";
18     repo = "comfoconnect";
19     tag = version;
20     hash = "sha256-I/0vCgSEi6mgYg1fMH4Ha7PoonewtqYYsvXZT8y4rJE=";
21   };
23   propagatedBuildInputs = [ protobuf ];
25   # Project has no tests
26   doCheck = false;
28   pythonImportsCheck = [ "pycomfoconnect" ];
30   meta = with lib; {
31     description = "Python module to interact with ComfoAir Q350/450/600 units";
32     homepage = "https://github.com/michaelarnauts/comfoconnect";
33     changelog = "https://github.com/michaelarnauts/comfoconnect/releases/tag/${version}";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };