home-assistant: support jvc_projector component (#370684)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user