1{ lib
2, buildPythonPackage
3, fetchPypi
4, docutils
5}:
6
7buildPythonPackage rec {
8 pname = "Pygments";
9 version = "2.3.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a";
14 };
15
16 propagatedBuildInputs = [ docutils ];
17
18 # Circular dependency with sphinx
19 doCheck = false;
20
21 meta = {
22 homepage = http://pygments.org/;
23 description = "A generic syntax highlighter";
24 license = lib.licenses.bsd2;
25 maintainers = with lib.maintainers; [ garbas ];
26 };
27}