python313Packages.pyhik: init at 0.3.2

This commit is contained in:
Jamie Magee 2025-07-06 10:05:56 -07:00
parent 736cea88d1
commit e39851567e
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyhik";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mezz64";
repo = "pyHik";
tag = version;
hash = "sha256-GqBHmwzQsnVGK1M2kKV3lQ3s7tsudoxmLC7xxGH55E0=";
};
build-system = [
setuptools
];
dependencies = [
requests
];
# Tests are disabled due to fragile XML namespace assertions
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyhik"
];
meta = {
description = "Python API to interact with a Hikvision camera event stream and toggle motion detection";
homepage = "https://github.com/mezz64/pyHik";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@ -12842,6 +12842,8 @@ self: super: with self; {
pyhidra = callPackage ../development/python-modules/pyhidra { };
pyhik = callPackage ../development/python-modules/pyhik { };
pyhive-integration = callPackage ../development/python-modules/pyhive-integration { };
pyhocon = callPackage ../development/python-modules/pyhocon { };