home-assistant: support compit component (#458715)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
aiofiles,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "compit-inext-api";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Przemko92";
|
||||
repo = "compit-inext-api";
|
||||
tag = version;
|
||||
hash = "sha256-Wx3V0AdxNGLdCIl4G7FlfzeDSirRPnxgQ9Fbp5cRjFw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "compit_inext_api" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python client for the Compit iNext API";
|
||||
homepage = "https://github.com/Przemko92/compit-inext-api";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -991,7 +991,8 @@
|
||||
];
|
||||
"compit" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: compit-inext-api
|
||||
compit-inext-api
|
||||
];
|
||||
"concord232" =
|
||||
ps: with ps; [
|
||||
concord232
|
||||
@@ -7168,6 +7169,7 @@
|
||||
"comfoconnect"
|
||||
"command_line"
|
||||
"compensation"
|
||||
"compit"
|
||||
"config"
|
||||
"configurator"
|
||||
"control4"
|
||||
|
||||
@@ -2942,6 +2942,8 @@ self: super: with self; {
|
||||
|
||||
commonregex = callPackage ../development/python-modules/commonregex { };
|
||||
|
||||
compit-inext-api = callPackage ../development/python-modules/compit-inext-api { };
|
||||
|
||||
compliance-trestle = callPackage ../development/python-modules/compliance-trestle { };
|
||||
|
||||
complycube = callPackage ../development/python-modules/complycube { };
|
||||
|
||||
Reference in New Issue
Block a user