2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-26 03:21:06 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdfkit";
|
2021-11-15 02:34:10 +01:00
|
|
|
version = "1.0.0";
|
2018-10-26 03:21:06 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-15 02:34:10 +01:00
|
|
|
sha256 = "992f821e1e18fc8a0e701ecae24b51a2d598296a180caee0a24c0af181da02a9";
|
2018-10-26 03:21:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests are not distributed
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://pypi.python.org/pypi/pdfkit";
|
2018-10-26 03:21:06 +02:00
|
|
|
description = "Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|