Unverified Commit 14a0b57f authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant: support jvc_projector component (#370684)

parents 4bc2a5fa c9589e4a
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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 { };