blob: b82df45abe456a8fa49664bd7754a5d30e1ae1b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
buildPythonPackage,
defusedxml,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "libpyfoscamcgi";
version = "0.0.9";
pyproject = true;
src = fetchFromGitHub {
owner = "Foscam-wangzhengyu";
repo = "libfoscamcgi";
tag = "v${version}";
hash = "sha256-tKA2UnVHAUjDfvm+t/aCk+3YfWfwjfEWPRgieDAcr7k=";
};
build-system = [ setuptools ];
dependencies = [
defusedxml
];
pythonImportsCheck = [ "libpyfoscamcgi" ];
# tests need access to a camera
doCheck = false;
meta = {
changelog = "https://github.com/Foscam-wangzhengyu/libfoscamcgi/releases/tag/${src.tag}";
description = "Python Library for Foscam IP Cameras";
homepage = "https://github.com/Foscam-wangzhengyu/libfoscamcgi";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|