1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 pygments, 8}: 9 10buildPythonPackage rec { 11 pname = "accessible-pygments"; 12 version = "0.0.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-57V6mxWVjpYBx+nrB6RAyBMoNUWiCXPyV0pfRT0OlT4="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ pygments ]; 25 26 # Tests only execute pygments with these styles 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "a11y_pygments" 31 "a11y_pygments.utils" 32 ]; 33 34 meta = with lib; { 35 description = "A collection of accessible pygments styles"; 36 homepage = "https://github.com/Quansight-Labs/accessible-pygments"; 37 changelog = "https://github.com/Quansight-Labs/accessible-pygments/raw/v${version}/CHANGELOG.md"; 38 license = licenses.bsd3; 39 maintainers = with maintainers; [ ]; 40 }; 41}