2017-05-07 20:23:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pygments";
|
2021-08-26 19:32:41 +00:00
|
|
|
version = "2.10.0";
|
2017-05-07 20:23:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 19:32:41 +00:00
|
|
|
sha256 = "f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6";
|
2017-05-07 20:23:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
|
2021-04-03 15:45:02 +00:00
|
|
|
# Circular dependency with sphinx
|
|
|
|
doCheck = false;
|
2021-03-18 06:43:05 +00:00
|
|
|
pythonImportsCheck = [ "pygments" ];
|
2017-05-07 20:23:32 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pygments.org/";
|
2017-05-07 20:23:32 +00:00
|
|
|
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
|
|
|
}
|