depot/third_party/nixpkgs/pkgs/development/python-modules/accessible-pygments/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
890 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
pygments,
}:
buildPythonPackage rec {
pname = "accessible-pygments";
version = "0.0.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-57V6mxWVjpYBx+nrB6RAyBMoNUWiCXPyV0pfRT0OlT4=";
};
build-system = [ setuptools ];
dependencies = [ pygments ];
# Tests only execute pygments with these styles
doCheck = false;
pythonImportsCheck = [
"a11y_pygments"
"a11y_pygments.utils"
];
meta = with lib; {
description = "A 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 = with maintainers; [ ];
};
}