2017-05-07 21:23:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pygments";
|
2019-02-14 07:37:09 +00:00
|
|
|
version = "2.3.1";
|
2017-05-07 21:23:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:09 +00:00
|
|
|
sha256 = "5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a";
|
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;
|
2018-01-16 21:59:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ garbas ];
|
2017-05-07 21:23:32 +01:00
|
|
|
};
|
|
|
|
}
|