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