From a4adb4faa02ab7d2e6e9276ea253056650467cca Mon Sep 17 00:00:00 2001 From: fleaz Date: Thu, 26 Oct 2023 21:07:04 +0200 Subject: [PATCH] pytapo: update --- pytapo/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pytapo/default.nix b/pytapo/default.nix index 1a8ee76..b0893b5 100644 --- a/pytapo/default.nix +++ b/pytapo/default.nix @@ -1,26 +1,31 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder # propagates , pycryptodome , requests +, rtp , urllib3 }: buildPythonPackage rec { pname = "pytapo"; - version = "2.9.2"; + version = "3.2.18"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - hash = "sha256-LW14uDQBqIVsigOzO0bNTpjY7Fk0IWAeDMPEuWM/nOo="; + hash = "sha256-z3HD7sjDg8dMNpd93PiN+nSzKTVCw+OJnfKX07e1+sg="; }; propagatedBuildInputs = [ pycryptodome requests + rtp urllib3 ]; @@ -32,7 +37,7 @@ buildPythonPackage rec { doCheck = false; meta = with lib; { - description = "Python library for communication with Tapo Cameras "; + description = "Python library for communication with Tapo Cameras"; homepage = "https://github.com/JurajNyiri/pytapo"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fleaz ];