about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-11-19 00:36:22 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-18 20:50:00 -0800
commit12de08a7e225becc20b9f2eb86689c9ba7387e28 (patch)
tree257a9365b8f592a4aaadbeb0e036fa669c7c7342
parent813255b8160ac5422921fcc9b8b3b0f33459b1cd (diff)
python3Packages.xhtml2pdf: unbreak dependencies
Needing to add setuptools, python-bidi and arabic-reshaper
to make the package compile and run
-rw-r--r--pkgs/development/python-modules/xhtml2pdf/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/xhtml2pdf/default.nix b/pkgs/development/python-modules/xhtml2pdf/default.nix
index c35d0b484d37e..88143b2193f45 100644
--- a/pkgs/development/python-modules/xhtml2pdf/default.nix
+++ b/pkgs/development/python-modules/xhtml2pdf/default.nix
@@ -6,13 +6,19 @@
 , pypdf2
 , reportlab
 , six
+, python-bidi
+, arabic-reshaper
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "xhtml2pdf";
   version = "0.2.5";
 
-  propagatedBuildInputs = [pillow html5lib pypdf2 reportlab six];
+  propagatedBuildInputs = [
+    pillow html5lib pypdf2 reportlab six
+    setuptools python-bidi arabic-reshaper
+  ];
 
   src = fetchPypi {
     inherit pname version;