Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 42 lines 733 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4 5# propagates 6, pycryptodome 7, requests 8, rtp 9, urllib3 10}: 11 12buildPythonPackage rec { 13 pname = "pytapo"; 14 version = "3.1.7"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-e5XeXPwf2QSZ/xgaPBPoRBaTvC8oNYI9/b190wSI4oQ="; 20 }; 21 22 propagatedBuildInputs = [ 23 pycryptodome 24 requests 25 rtp 26 urllib3 27 ]; 28 29 pythonImportsCheck = [ 30 "pytapo" 31 ]; 32 33 # Tests require actual hardware 34 doCheck = false; 35 36 meta = with lib; { 37 description = "Python library for communication with Tapo Cameras "; 38 homepage = "https://github.com/JurajNyiri/pytapo"; 39 license = with licenses; [ mit ]; 40 maintainers = with maintainers; [ fleaz ]; 41 }; 42}