python.pkgs.doc8: add pygments dependency

Without pygments doc8 will throw "errors" since it cannot check code
blocks. Pygments has since been added to the dependencies upstream [1],
though that hasn't made it into a release yet. I think we should already
adopt this now.

[1] https://github.com/PyCQA/doc8/commit/b6931816585e224019afddfc9d78ecbcf0549c74
This commit is contained in:
Timo Kaufmann
2020-03-27 10:39:36 -07:00
committed by Jon
parent 8ea3f05c37
commit c6c0ae3be2
@@ -7,6 +7,7 @@
, chardet , chardet
, stevedore , stevedore
, restructuredtext_lint , restructuredtext_lint
, pygments
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@@ -19,7 +20,14 @@ buildPythonPackage rec {
}; };
buildInputs = [ pbr ]; buildInputs = [ pbr ];
propagatedBuildInputs = [ docutils six chardet stevedore restructuredtext_lint ]; propagatedBuildInputs = [
docutils
six
chardet
stevedore
restructuredtext_lint
pygments
];
doCheck = false; doCheck = false;