about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pdfkit/default.nix
blob: dc9d33ddf0df65c0e8aeca8786b46ed7a1106fbb (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
{ stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "pdfkit";
  version = "0.6.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1lcc1njpjd2zadbljqsnkrvamschl6j099p4giz1jd6mg1ds67gg";
  };

  # 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;
  };

}