python3Packages.pyarlo: init at 0.2.4

This commit is contained in:
Fabian Affolter 2021-01-05 19:15:51 +01:00 committed by Martin Weinelt
parent e53d823337
commit afae42d254
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
, requests
, requests-mock
, sseclient-py
}:
buildPythonPackage rec {
pname = "pyarlo";
version = "0.2.4";
src = fetchFromGitHub {
owner = "tchellomello";
repo = "python-arlo";
rev = version;
sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3";
};
propagatedBuildInputs = [
requests
sseclient-py
];
checkInputs = [
pytestCheckHook
mock
requests-mock
];
pythonImportsCheck = [ "pyarlo" ];
meta = with lib; {
description = "Python library to work with Netgear Arlo cameras";
homepage = "https://github.com/tchellomello/python-arlo";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5024,6 +5024,8 @@ in {
pyannotate = callPackage ../development/python-modules/pyannotate { };
pyarlo = callPackage ../development/python-modules/pyarlo { };
pyarrow = callPackage ../development/python-modules/pyarrow { inherit (pkgs) arrow-cpp cmake pkgconfig; };
pyasn1 = callPackage ../development/python-modules/pyasn1 { };