ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / amcrest / default.nix
blobdcdf918344a354628fc16fef402c8a26e46e72c6
1 { lib
2 , argcomplete
3 , buildPythonPackage
4 , fetchFromGitHub
5 , mock
6 , httpx
7 , pytestCheckHook
8 , pythonOlder
9 , requests
10 , responses
11 , urllib3
12 , typing-extensions
15 buildPythonPackage rec {
16   pname = "amcrest";
17   version = "1.9.7";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "tchellomello";
22     repo = "python-amcrest";
23     rev = version;
24     sha256 = "sha256-An7MnGtZsmEZU/y6E0sivdexFD6HJRTB1juXqHfbDzE=";
25   };
27   propagatedBuildInputs = [
28     argcomplete
29     httpx
30     requests
31     urllib3
32     typing-extensions
33   ];
35   checkInputs = [
36     mock
37     pytestCheckHook
38     responses
39   ];
41   pythonImportsCheck = [ "amcrest" ];
43   meta = with lib; {
44     description = "Python module for Amcrest and Dahua Cameras";
45     homepage = "https://github.com/tchellomello/python-amcrest";
46     license = with licenses; [ gpl2Only ];
47     maintainers = with maintainers; [ fab ];
48   };