ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyarlo / default.nix
blob76fe9bc0a1082d504bb57565cb5b208bcae3eecd
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , mock
5 , pytestCheckHook
6 , requests
7 , requests-mock
8 , sseclient-py
9 }:
11 buildPythonPackage rec {
12   pname = "pyarlo";
13   version = "0.2.4";
15   src = fetchFromGitHub {
16     owner = "tchellomello";
17     repo = "python-arlo";
18     rev = version;
19     sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3";
20   };
22   propagatedBuildInputs = [
23     requests
24     sseclient-py
25   ];
27   checkInputs = [
28     pytestCheckHook
29     mock
30     requests-mock
31   ];
33   pythonImportsCheck = [ "pyarlo" ];
35   meta = with lib; {
36     description = "Python library to work with Netgear Arlo cameras";
37     homepage = "https://github.com/tchellomello/python-arlo";
38     license = with licenses; [ lgpl3Plus ];
39     maintainers = with maintainers; [ fab ];
40   };