1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5}: 6 7buildPythonPackage rec { 8 pname = "pyeverlights"; 9 version = "0.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "joncar"; 13 repo = pname; 14 rev = version; 15 sha256 = "16xpq933j8yydq78fnf4f7ivyw5a45ix4mfycpmm91aj549p6pm0"; 16 }; 17 18 propagatedBuildInputs = [ aiohttp ]; 19 20 # no tests are present 21 doCheck = false; 22 pythonImportsCheck = [ "pyeverlights" ]; 23 24 meta = with lib; { 25 description = "Python module for interfacing with an EverLights control box"; 26 homepage = "https://github.com/joncar/pyeverlights"; 27 license = with licenses; [ mit ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}