Unverified Commit 5feb6226 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.onvif-parsers: init at 2.3.0 (#506827)

parents 507e985c 3444aa60
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  lxml,
  onvif-zeep-async,
  zeep,
  pytest-cov-stub,
  pytestCheckHook,
  pytest-asyncio,
}:

buildPythonPackage (finalAttrs: {
  pname = "onvif-parsers";
  version = "2.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "openvideolibs";
    repo = "onvif-parsers";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ukwcyycK3YFk0qHUPBD7Aoy3F3itXn0zUGq9I65b3Ns=";
  };

  build-system = [ setuptools ];

  dependencies = [
    lxml
    onvif-zeep-async
    zeep
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "onvif_parsers" ];

  meta = {
    description = "Parsers for ONVIF events";
    homepage = "https://github.com/openvideolibs/onvif-parsers";
    changelog = "https://github.com/openvideolibs/onvif-parsers/blob/main/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -4484,9 +4484,10 @@
    "onvif" =
      ps: with ps; [
        ha-ffmpeg
        onvif-parsers
        onvif-zeep-async
        wsdiscovery
      ]; # missing inputs: onvif_parsers
      ];
    "open_meteo" =
      ps: with ps; [
        open-meteo
@@ -8015,6 +8016,7 @@
    "onedrive_for_business"
    "onewire"
    "onkyo"
    "onvif"
    "open_meteo"
    "open_router"
    "openai_conversation"
+2 −0
Original line number Diff line number Diff line
@@ -11468,6 +11468,8 @@ self: super: with self; {
  onnxslim = callPackage ../development/python-modules/onnxslim { };
  onvif-parsers = callPackage ../development/python-modules/onvif-parsers { };
  onvif-zeep = callPackage ../development/python-modules/onvif-zeep { };
  onvif-zeep-async = callPackage ../development/python-modules/onvif-zeep-async { };