From c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Fri, 27 Mar 2020 15:32:06 +0100 Subject: [PATCH] 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 --- pkgs/development/python-modules/doc8/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/doc8/default.nix b/pkgs/development/python-modules/doc8/default.nix index 307496cc65ce..f7e620f491cb 100644 --- a/pkgs/development/python-modules/doc8/default.nix +++ b/pkgs/development/python-modules/doc8/default.nix @@ -7,6 +7,7 @@ , chardet , stevedore , restructuredtext_lint +, pygments }: buildPythonPackage rec { @@ -19,7 +20,14 @@ buildPythonPackage rec { }; buildInputs = [ pbr ]; - propagatedBuildInputs = [ docutils six chardet stevedore restructuredtext_lint ]; + propagatedBuildInputs = [ + docutils + six + chardet + stevedore + restructuredtext_lint + pygments + ]; doCheck = false;