Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyarlo / default.nix
blob199dc61015a70f1e7d1572076b81e2f378eaf276
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";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "tchellomello";
18     repo = "python-arlo";
19     rev = version;
20     sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3";
21   };
23   propagatedBuildInputs = [
24     requests
25     sseclient-py
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     mock
31     requests-mock
32   ];
34   pythonImportsCheck = [ "pyarlo" ];
36   meta = with lib; {
37     description = "Python library to work with Netgear Arlo cameras";
38     homepage = "https://github.com/tchellomello/python-arlo";
39     license = with licenses; [ lgpl3Plus ];
40     maintainers = with maintainers; [ fab ];
41   };