diff options
Diffstat (limited to 'pkgs/development/python-modules/pdfkit')
-rw-r--r-- | pkgs/development/python-modules/pdfkit/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pdfkit/default.nix b/pkgs/development/python-modules/pdfkit/default.nix new file mode 100644 index 000000000000..c797c57c40f9 --- /dev/null +++ b/pkgs/development/python-modules/pdfkit/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pdfkit"; + version = "0.5.0"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "1p1m6gp51ql3wzjs2iwds8sc3hg1i48yysii9inrky6qc3s6q5vf"; + }; + + # tests are not distributed + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://pypi.python.org/pypi/pdfkit; + description = "Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt"; + license = licenses.mit; + }; + +} |