pytapo: update

This commit is contained in:
fleaz 2023-10-26 21:07:04 +02:00
parent a2ce7a1ac0
commit a4adb4faa0
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -1,26 +1,31 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
# propagates # propagates
, pycryptodome , pycryptodome
, requests , requests
, rtp
, urllib3 , urllib3
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytapo"; pname = "pytapo";
version = "2.9.2"; version = "3.2.18";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-LW14uDQBqIVsigOzO0bNTpjY7Fk0IWAeDMPEuWM/nOo="; hash = "sha256-z3HD7sjDg8dMNpd93PiN+nSzKTVCw+OJnfKX07e1+sg=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
pycryptodome pycryptodome
requests requests
rtp
urllib3 urllib3
]; ];
@ -32,7 +37,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
meta = with lib; { 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"; homepage = "https://github.com/JurajNyiri/pytapo";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fleaz ]; maintainers = with maintainers; [ fleaz ];