blob: 772b8fbaa0466e33a54148cd8f01a9af18c40347 (
plain) (
blame)
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
|
{ lib
, argcomplete
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
, requests
, responses
, urllib3
}:
buildPythonPackage rec {
pname = "amcrest";
version = "1.7.2";
src = fetchFromGitHub {
owner = "tchellomello";
repo = "python-amcrest";
rev = version;
sha256 = "06gbrshf6vqvq3k813d1w37k2kmps0g6msa4lp2f9xvzw3iczshy";
};
propagatedBuildInputs = [
argcomplete
requests
urllib3
];
checkInputs = [
mock
pytestCheckHook
responses
];
pythonImportsCheck = [ "amcrest" ];
meta = with lib; {
description = "Python module for Amcrest and Dahua Cameras";
homepage = "https://github.com/tchellomello/python-amcrest";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
};
}
|