python-xhtml2pdf: init at 0.2.3

This commit is contained in:
Eamonn Coughlan 2019-05-20 19:12:45 +02:00
parent c00a043ce2
commit 344bdc8cee
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pillow
, html5lib
, pypdf2
, reportlab
, six
}:
buildPythonPackage rec {
pname = "xhtml2pdf";
version = "0.2.3";
propagatedBuildInputs = [pillow html5lib pypdf2 reportlab six];
src = fetchPypi {
inherit pname version;
sha256 = "10kg8cmn7zgql2lb6cfmqj94sa0jkraksv3lc4kvpn58sxw7x8w6";
};
meta = with stdenv.lib; {
description = "A PDF generator using HTML and CSS";
homepage = https://github.com/xhtml2pdf/xhtml2pdf;
license = licenses.asl20;
};
}

View File

@ -5165,6 +5165,8 @@ in {
xgboost = pkgs.xgboost;
};
xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf { };
xkcdpass = callPackage ../development/python-modules/xkcdpass { };
xlsx2csv = callPackage ../development/python-modules/xlsx2csv { };