summary refs log tree commit diff
path: root/pkgs/development/python-modules/pillow/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pillow/generic.nix')
-rw-r--r--pkgs/development/python-modules/pillow/generic.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pillow/generic.nix b/pkgs/development/python-modules/pillow/generic.nix
index 95ecce0522c..5186e8a476b 100644
--- a/pkgs/development/python-modules/pillow/generic.nix
+++ b/pkgs/development/python-modules/pillow/generic.nix
@@ -39,6 +39,8 @@ buildPythonPackage rec {
 
   nativeCheckInputs = [ pytestCheckHook pyroma numpy ];
 
+  nativeBuildInputs = [ setuptools ];
+
   buildInputs = [ freetype libjpeg openjpeg libimagequant zlib libtiff libwebp libxcrypt tcl lcms2 ]
     ++ lib.optionals (lib.versionAtLeast version "7.1.0") [ libxcb ]
     ++ lib.optionals (isPyPy) [ tk libX11 ];