Unverified Commit 507b6192 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #215732 from fleaz/init_pytapo

python310Packages.pytapo: init at 2.9.2
parents 0cba5e8b 13504907
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
@@ -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 { };