home-assistant: support jvc_projector component (#370684)

This commit is contained in:
Martin Weinelt
2025-01-03 23:21:08 +01:00
committed by GitHub
3 changed files with 48 additions and 1 deletions
@@ -0,0 +1,43 @@
{
aiodns,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyjvcprojector";
version = "1.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "SteveEasley";
repo = "pyjvcprojector";
tag = "v${version}";
hash = "sha256-ow9pCigbQpxLibIq1hsRifXuzJfbWnqpWmnkM5lC3I4=";
};
build-system = [ setuptools ];
dependencies = [
aiodns
];
pythonImportsCheck = [ "jvcprojector" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/SteveEasley/pyjvcprojector/releases/tag/${src.tag}";
description = "Python library for controlling a JVC Projector over a network connection";
homepage = "https://github.com/SteveEasley/pyjvcprojector";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
@@ -2744,7 +2744,8 @@
];
"jvc_projector" =
ps: with ps; [
]; # missing inputs: pyjvcprojector
pyjvcprojector
];
"kaiterra" =
ps: with ps; [
]; # missing inputs: kaiterra-async-client
@@ -6807,6 +6808,7 @@
"jewish_calendar"
"juicenet"
"justnimbus"
"jvc_projector"
"kaleidescape"
"keenetic_ndms2"
"kegtron"
+2
View File
@@ -11890,6 +11890,8 @@ self: super: with self; {
pyjsparser = callPackage ../development/python-modules/pyjsparser { };
pyjvcprojector = callPackage ../development/python-modules/pyjvcprojector { };
pyjwkest = callPackage ../development/python-modules/pyjwkest { };
pyjwt = callPackage ../development/python-modules/pyjwt { };