1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "openrgb-python"; 11 version = "0.3.5"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-06efPdVHkZG9uR1W+bQcZzxqqEYXlKpmuXmiRk36TZA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 # Module has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "openrgb" ]; 27 28 meta = with lib; { 29 description = "Module for the OpenRGB SDK"; 30 homepage = "https://openrgb-python.readthedocs.io/"; 31 changelog = "https://github.com/jath03/openrgb-python/releases/tag/v${version}"; 32 license = licenses.gpl3Only; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}