Unverified Commit 13504907 authored by fleaz's avatar fleaz
Browse files

python310Packages.pytapo: init at 2.9.2

parent b9a0cd40
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8772,6 +8772,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 { };