2017-05-07 21:23:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pygments";
|
2019-12-19 19:31:03 +00:00
|
|
|
version = "2.5.2";
|
2017-05-07 21:23:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:03 +00:00
|
|
|
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
|
2017-05-07 21:23:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
|
|
|
|
# Circular dependency with sphinx
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2020-01-10 20:17:37 +00:00
|
|
|
homepage = https://pygments.org/;
|
2017-05-07 21:23:32 +01:00
|
|
|
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
|
|
|
}
|