12 buildPythonPackage rec {
17 disabled = pythonOlder "3.10";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-T7bT4be/h67iPIH/7hjNCYsUDP+4o4HLV523sBIjGVs=";
26 build-system = [ setuptools ];
34 # Tests require real network resources
37 pythonImportsCheck = [ "tinytuya" ];
40 description = "Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API)";
41 homepage = "https://github.com/jasonacox/tinytuya";
42 changelog = "https://github.com/jasonacox/tinytuya/releases/tag/v${version}";
43 license = licenses.mit;
44 maintainers = with maintainers; [ pathob ];