Make xhtml2pdf its own package in python-packages
xhtml2pdf now uses the main package html5lib with just an override to pull the correct version number.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
{python, html5}:
|
||||
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "xhtml2pdf";
|
||||
version = "0.2.1";
|
||||
|
||||
buildInputs = [html5];
|
||||
propagatedBuildInputs = with python.pkgs; [httplib2 pillow pypdf2 reportlab html5];
|
||||
|
||||
src = python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1n9r8zdk9gc2x539fq60bhszmd421ipj8g78zmsn3njvma1az9k1";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user