Merge pull request #215732 from fleaz/init_pytapo

python310Packages.pytapo: init at 2.9.2
This commit is contained in:
Martin Weinelt 2023-02-11 00:58:14 +00:00 committed by GitHub
commit 507b619221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
# propagates
, pycryptodome
, requests
, urllib3
}:
buildPythonPackage rec {
pname = "pytapo";
version = "2.9.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LW14uDQBqIVsigOzO0bNTpjY7Fk0IWAeDMPEuWM/nOo=";
};
propagatedBuildInputs = [
pycryptodome
requests
urllib3
];
pythonImportsCheck = [
"pytapo"
];
# Tests require actual hardware
doCheck = false;
meta = with lib; {
description = "Python library for communication with Tapo Cameras ";
homepage = "https://github.com/JurajNyiri/pytapo";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fleaz ];
};
}

View file

@ -8958,6 +8958,8 @@ self: super: with self; {
pytap2 = callPackage ../development/python-modules/pytap2 { };
pytapo = callPackage ../development/python-modules/pytapo { };
pytautulli = callPackage ../development/python-modules/pytautulli { };
pyte = callPackage ../development/python-modules/pyte { };