3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/misc/sasview/xhtml2pdf.nix
Adam Washington 73ed353d27 sasview: init at 4.1.2
Sasview is a data fitting and analysis package for small angle
scattering data.  More information can be found at
https://www.sasview.org.

There is some unfortunate cruft to this commit.  SasView uses the
xhtml2pdf python package, which has a specific version of html5lib as
a dependency.  This module manually loads that version into sasview.
I haven't made xhtml2pdf available as its own package due to these
circumstances.
2018-03-12 09:22:06 +00:00

16 lines
379 B
Nix

{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";
};
}