1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "pylutron"; 8 version = "0.2.9"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "sha256-xy5XPNOrvdPZMCfa2MYA+xtUcFdGSurW5QYL6H7n2VI="; 13 }; 14 15 # Project has no tests 16 doCheck = false; 17 pythonImportsCheck = [ "pylutron" ]; 18 19 meta = with lib; { 20 description = "Python library for controlling a Lutron RadioRA 2 system"; 21 homepage = "https://github.com/thecynic/pylutron"; 22 license = with licenses; [ mit ]; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}