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 ];