Merge pull request #119126 from fabaff/pycomfoconnect
python3Packages.pycomfoconnect: init at 0.4
This commit is contained in:
commit
ef9300b3ef
34
pkgs/development/python-modules/pycomfoconnect/default.nix
Normal file
34
pkgs/development/python-modules/pycomfoconnect/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -131,7 +131,7 @@
|
||||
"coinbase" = ps: with ps; [ ]; # missing inputs: coinbase
|
||||
"color_extractor" = ps: with ps; [ ]; # missing inputs: colorthief
|
||||
"comed_hourly_pricing" = ps: with ps; [ ];
|
||||
"comfoconnect" = ps: with ps; [ ]; # missing inputs: pycomfoconnect
|
||||
"comfoconnect" = ps: with ps; [ pycomfoconnect ];
|
||||
"command_line" = ps: with ps; [ ];
|
||||
"concord232" = ps: with ps; [ ]; # missing inputs: concord232
|
||||
"config" = ps: with ps; [ aiohttp-cors ];
|
||||
|
@ -210,6 +210,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"cast"
|
||||
"climate"
|
||||
"cloud"
|
||||
"comfoconnect"
|
||||
"command_line"
|
||||
"config"
|
||||
"configurator"
|
||||
|
@ -5670,6 +5670,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user