blob: 87642de5b2106df5e38500890291a1f19b7e718a (
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
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
paho-mqtt,
pandas,
pycryptodome,
requests,
setuptools,
xmltodict,
}:
buildPythonPackage rec {
pname = "pyezvizapi";
version = "1.0.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "RenierM26";
repo = "pyEzvizApi";
tag = version;
hash = "sha256-ReGGyB7qxiBK5zNQJP2oCzTF3IeQDu1ljM5IF7vZcXk=";
};
build-system = [ setuptools ];
dependencies = [
paho-mqtt
pandas
pycryptodome
requests
xmltodict
];
pythonImportsCheck = [ "pyezvizapi" ];
# test_cam_rtsp.py is not actually a unit test
doCheck = false;
meta = {
description = "Python interface for for Ezviz cameras";
homepage = "https://github.com/RenierM26/pyEzvizApi";
changelog = "https://github.com/RenierM26/pyEzvizApi/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
mainProgram = "pyezviz";
};
}
|