16 pygments = buildPythonPackage rec {
21 disabled = pythonOlder "3.8"; # 2.18.0 requirement
24 inherit pname version;
25 hash = "sha256-eG/4AvMukTEb/ziJ9umoboFQX+mfJzW7bWCuDFAE8Zk=";
28 nativeBuildInputs = [ hatchling ];
30 # circular dependencies if enabled by default
39 # 5 lines diff, including one nix store path in 20000+ lines
40 "tests/examplefiles/bash/ltmain.sh"
43 pythonImportsCheck = [ "pygments" ];
46 check = pygments.overridePythonAttrs (_: {
52 changelog = "https://github.com/pygments/pygments/releases/tag/${version}";
53 homepage = "https://pygments.org/";
54 description = "Generic syntax highlighter";
55 mainProgram = "pygmentize";
56 license = lib.licenses.bsd2;
57 maintainers = with lib.maintainers; [ sigmanificient ];