linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / accessible-pygments / default.nix
blob177b3529ecc640012606e26752de7dcbe5c11e1e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   hatchling,
7   hatch-vcs,
8   hatch-fancy-pypi-readme,
9   pygments,
12 buildPythonPackage rec {
13   pname = "accessible-pygments";
14   version = "0.0.5";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     pname = "accessible_pygments";
21     inherit version;
22     hash = "sha256-QJGNPmorYZrUJMuR5Va9O9iGVEPZ8i8dzfeeM8gEaHI=";
23   };
25   build-system = [
26     hatchling
27     hatch-vcs
28     hatch-fancy-pypi-readme
29   ];
31   dependencies = [ pygments ];
33   # Tests only execute pygments with these styles
34   doCheck = false;
36   pythonImportsCheck = [
37     "a11y_pygments"
38     "a11y_pygments.utils"
39   ];
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   };