linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / xhtml2pdf / default.nix
blobefdb40cd6f8786594e70996567fe37b5e8724856
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pillow
5 , html5lib
6 , pypdf2
7 , reportlab
8 , six
9 , python-bidi
10 , arabic-reshaper
11 , setuptools
14 buildPythonPackage rec {
15   pname = "xhtml2pdf";
16   version = "0.2.5";
18   propagatedBuildInputs = [
19     pillow html5lib pypdf2 reportlab six
20     setuptools python-bidi arabic-reshaper
21   ];
23   src = fetchPypi {
24     inherit pname version;
25     sha256 = "6797e974fac66f0efbe927c1539a2756ca4fe8777eaa5882bac132fc76b39421";
26   };
28   meta = with lib; {
29     description = "A PDF generator using HTML and CSS";
30     homepage = "https://github.com/xhtml2pdf/xhtml2pdf";
31     license = licenses.asl20;
32   };