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