depot/third_party/nixpkgs/pkgs/development/python-modules/accessible-pygments/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

48 lines
985 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
hatchling,
hatch-vcs,
hatch-fancy-pypi-readme,
pygments,
}:
buildPythonPackage rec {
pname = "accessible-pygments";
version = "0.0.5";
pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; {
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 = licenses.bsd3;
maintainers = [ ];
};
}