2017-05-07 21:23:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pygments";
|
2019-08-08 14:00:34 +01:00
|
|
|
version = "2.4.2";
|
2017-05-07 21:23:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-08 14:00:34 +01:00
|
|
|
sha256 = "15v2sqm5g12bqa0c7wikfh9ck2nl97ayizy1hpqhmws5gqalq748";
|
2017-05-07 21:23:32 +01: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 10:27:39 +01:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2017-05-07 21:23:32 +01:00
|
|
|
};
|
2019-07-03 10:27:39 +01:00
|
|
|
}
|