about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pdfkit/default.nix
blob: c797c57c40f99fa2805c651b3c1d80fa1165b0c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };

}