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.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pillow/generic.nix b/pkgs/development/python-modules/pillow/generic.nix
index 64ae9189559..3e33f1a8aa0 100644
--- a/pkgs/development/python-modules/pillow/generic.nix
+++ b/pkgs/development/python-modules/pillow/generic.nix
@@ -31,7 +31,8 @@ buildPythonPackage rec {
     "test_custom_metadata"
   ];
 
-  propagatedBuildInputs = [ olefile ];
+  propagatedBuildInputs = [ olefile ]
+    ++ lib.optionals (lib.versionAtLeast version "8.2.0") [ defusedxml ];
 
   checkInputs = [ pytestCheckHook pyroma numpy ];