nixpkgs/pkgs/development/python-modules/accessible-pygments/default.nix
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

45 lines
931 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
hatch-vcs,
hatch-fancy-pypi-readme,
pygments,
}:
buildPythonPackage rec {
pname = "accessible-pygments";
version = "0.0.5";
pyproject = true;
src = fetchPypi {
pname = "accessible_pygments";
inherit version;
hash = "sha256-QJGNPmorYZrUJMuR5Va9O9iGVEPZ8i8dzfeeM8gEaHI=";
};
build-system = [
hatchling
hatch-vcs
hatch-fancy-pypi-readme
];
dependencies = [ pygments ];
# Tests only execute pygments with these styles
doCheck = false;
pythonImportsCheck = [
"a11y_pygments"
"a11y_pygments.utils"
];
meta = {
description = "Collection of accessible pygments styles";
homepage = "https://github.com/Quansight-Labs/accessible-pygments";
changelog = "https://github.com/Quansight-Labs/accessible-pygments/raw/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}