python-xhtml2pdf: init at 0.2.3
This commit is contained in:
parent
c00a043ce2
commit
344bdc8cee
28
pkgs/development/python-modules/xhtml2pdf/default.nix
Normal file
28
pkgs/development/python-modules/xhtml2pdf/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -5165,6 +5165,8 @@ in {
|
|||||||
xgboost = pkgs.xgboost;
|
xgboost = pkgs.xgboost;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf { };
|
||||||
|
|
||||||
xkcdpass = callPackage ../development/python-modules/xkcdpass { };
|
xkcdpass = callPackage ../development/python-modules/xkcdpass { };
|
||||||
|
|
||||||
xlsx2csv = callPackage ../development/python-modules/xlsx2csv { };
|
xlsx2csv = callPackage ../development/python-modules/xlsx2csv { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user