From cedfeda2a12d55655c341c6d3b986b7ae8a6fe2f Mon Sep 17 00:00:00 2001 From: Kevin Marsh Date: Thu, 2 Jun 2016 13:21:59 +0100 Subject: [PATCH] pythonPackages.pdfkit: init at 0.5.0 --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c881a3fc17..220868baf0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16220,6 +16220,25 @@ in modules // { }; }; + pdfkit = buildPythonPackage rec { + name = "pdfkit-${version}"; + version = "0.5.0"; + + src = pkgs.fetchurl { + url = "mirror://pypi/p/pdfkit/${name}.zip"; + sha256 = "1p1m6gp51ql3wzjs2iwds8sc3hg1i48yysii9inrky6qc3s6q5vf"; + }; + + buildInputs = with self; [ ]; + # tests are not distributed + doCheck = false; + + meta = { + 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; + }; + }; pg8000 = buildPythonPackage rec { name = "pg8000-1.10.1";