about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2020-03-27 15:32:06 +0100
committerJon <jonringer@users.noreply.github.com>2020-03-27 10:39:36 -0700
commitc6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e (patch)
tree6214ca87867eb39f504c6dd05af8765650450916 /pkgs
parent8ea3f05c37b43e84fb1d2333971cff6b306db00a (diff)
downloadnixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar.gz
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar.bz2
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar.lz
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar.xz
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.tar.zst
nixlib-c6c0ae3be20fa3bb77c2d411e1c3dfbd936c894e.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/doc8/default.nix10
1 files changed, 9 insertions, 1 deletions
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;