Merge pull request #215732 from fleaz/init_pytapo
python310Packages.pytapo: init at 2.9.2
This commit is contained in:
commit
507b619221
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/pytapo/default.nix
Normal file
40
pkgs/development/python-modules/pytapo/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue