1{ stdenv
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "pdfkit";
8 version = "0.5.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 extension = "zip";
13 sha256 = "1p1m6gp51ql3wzjs2iwds8sc3hg1i48yysii9inrky6qc3s6q5vf";
14 };
15
16 # tests are not distributed
17 doCheck = false;
18
19 meta = with stdenv.lib; {
20 homepage = https://pypi.python.org/pypi/pdfkit;
21 description = "Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt";
22 license = licenses.mit;
23 };
24
25}