home-assistant: support slide component (#370649)

This commit is contained in:
Martin Weinelt
2025-01-03 17:44:43 +01:00
committed by GitHub
3 changed files with 40 additions and 1 deletions
@@ -0,0 +1,36 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "goslide-api";
version = "0.7.3";
pyproject = true;
src = fetchFromGitHub {
owner = "ualex73";
repo = "goslide-api";
tag = version;
hash = "sha256-s8MtOBNieg0o8U6pkf0e/EF8GtVkb7BgQBP6n/xmKJk=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "goslideapi" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Python API to utilise the Slide Open Cloud and Local API";
homepage = "https://github.com/ualex73/goslide-api";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
@@ -5037,7 +5037,8 @@
];
"slide" =
ps: with ps; [
]; # missing inputs: goslide-api
goslide-api
];
"slimproto" =
ps: with ps; [
aioslimproto
+2
View File
@@ -5483,6 +5483,8 @@ self: super: with self; {
gorilla = callPackage ../development/python-modules/gorilla { };
goslide-api = callPackage ../development/python-modules/goslide-api { };
govee-ble = callPackage ../development/python-modules/govee-ble { };
govee-led-wez = callPackage ../development/python-modules/govee-led-wez { };