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