Commit 92016339 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.onvif-parsers: init at 2.3.0

parent 32cbbb03
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -11464,6 +11464,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 { };