2017-05-07 20:23:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pygments";
|
2019-08-08 13:00:34 +00:00
|
|
|
version = "2.4.2";
|
2017-05-07 20:23:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-08 13:00:34 +00:00
|
|
|
sha256 = "15v2sqm5g12bqa0c7wikfh9ck2nl97ayizy1hpqhmws5gqalq748";
|
2017-05-07 20:23:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
|
|
|
|
# Circular dependency with sphinx
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pygments.org/;
|
|
|
|
description = "A generic syntax highlighter";
|
|
|
|
license = lib.licenses.bsd2;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2017-05-07 20:23:32 +00:00
|
|
|
};
|
2019-07-03 09:27:39 +00:00
|
|
|
}
|