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