1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6}: 7 8buildPythonPackage rec { 9 pname = "tuyaha"; 10 version = "0.0.11"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "PaulAnnekov"; 15 repo = "tuyaha"; 16 rev = version; 17 hash = "sha256-PTIw/2NRHHiqV6E5oj2pMeGq1uApevKfT2n5zV8AQmM="; 18 }; 19 20 propagatedBuildInputs = [ requests ]; 21 22 # Project has no tests 23 doCheck = false; 24 pythonImportsCheck = [ "tuyaha" ]; 25 26 meta = with lib; { 27 description = "Python module with the Tuya API"; 28 homepage = "https://github.com/PaulAnnekov/tuyaha"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}