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

This commit is contained in:
Sandro
2026-04-06 00:19:03 +00:00
committed by GitHub
3 changed files with 54 additions and 1 deletions
@@ -0,0 +1,49 @@
{
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 ];
};
})
@@ -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
View File
@@ -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 { };