python3Packages.pycomfoconnect: init at 0.4

This commit is contained in:
Fabian Affolter 2021-04-11 12:52:34 +02:00
parent 089908b9db
commit 266a1baa49
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, protobuf
, pytestCheckHook
}:
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 ];
};
}

View file

@ -5621,6 +5621,8 @@ in {
pycollada = callPackage ../development/python-modules/pycollada { };
pycomfoconnect = callPackage ../development/python-modules/pycomfoconnect { };
pycontracts = callPackage ../development/python-modules/pycontracts { };
pycosat = callPackage ../development/python-modules/pycosat { };