1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/graphics/wkhtmltopdf/default.nix
Eelco Dolstra dc9830111b * Added wkhtmltopdf.
svn path=/nixpkgs/trunk/; revision=31604
2012-01-17 11:04:14 +00:00

23 lines
547 B
Nix

{ stdenv, fetchurl, qt4 }:
stdenv.mkDerivation rec {
name = "wkhtmltopdf-0.11.0_rc1";
src = fetchurl {
url = "http://wkhtmltopdf.googlecode.com/files/${name}.tar.bz2";
sha1 = "db03922d281856e503b3d562614e3936285728c7";
};
buildInputs = [ qt4 ];
configurePhase = "qmake wkhtmltopdf.pro INSTALLBASE=$out";
enableParallelBuilding = true;
meta = {
homepage = http://code.google.com/p/wkhtmltopdf/;
description = "Tools for rendering web pages to PDF or images";
license = stdenv.lib.licenses.gpl3Plus;
};
}