at master 820 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 mock, 6 pytestCheckHook, 7 requests, 8 requests-mock, 9 sseclient-py, 10}: 11 12buildPythonPackage rec { 13 pname = "pyarlo"; 14 version = "0.2.4"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "tchellomello"; 19 repo = "python-arlo"; 20 rev = version; 21 sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3"; 22 }; 23 24 propagatedBuildInputs = [ 25 requests 26 sseclient-py 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 mock 32 requests-mock 33 ]; 34 35 pythonImportsCheck = [ "pyarlo" ]; 36 37 meta = with lib; { 38 description = "Python library to work with Netgear Arlo cameras"; 39 homepage = "https://github.com/tchellomello/python-arlo"; 40 license = with licenses; [ lgpl3Plus ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}