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