Files
nixpkgs/pkgs/development/python-modules/onvif-zeep/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
705 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
zeep,
}:
buildPythonPackage rec {
pname = "onvif-zeep";
version = "0.2.12";
pyproject = true;
src = fetchPypi {
pname = "onvif_zeep";
inherit version;
hash = "sha256-qou8Aqc+qlCJSwwY45+o0xilg6ZkxlvzWzyAKdHEC0k=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ zeep ];
pythonImportsCheck = [ "onvif" ];
# Tests require hardware
doCheck = false;
meta = {
description = "Python Client for ONVIF Camera";
mainProgram = "onvif-cli";
homepage = "https://github.com/quatanium/python-onvif";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fleaz ];
};
}