From 9838265ab359ac3ac0f6a5dbcbf414369178c23e Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 27 Oct 2015 17:13:55 -0700 Subject: [PATCH 1/2] wkhtmltopdf: 0.12.1 -> 0.12.2.4 --- pkgs/tools/graphics/wkhtmltopdf/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/graphics/wkhtmltopdf/default.nix b/pkgs/tools/graphics/wkhtmltopdf/default.nix index 2f3929b82b8..295bea4517f 100644 --- a/pkgs/tools/graphics/wkhtmltopdf/default.nix +++ b/pkgs/tools/graphics/wkhtmltopdf/default.nix @@ -2,21 +2,23 @@ , openssl, libX11, libXext, libXrender, overrideDerivation }: stdenv.mkDerivation rec { - version = "0.12.1"; + version = "0.12.2.4"; name = "wkhtmltopdf-${version}"; src = fetchgit { url = "https://github.com/wkhtmltopdf/wkhtmltopdf.git"; rev = "refs/tags/${version}"; - sha256 = "0wjzaaviy1k3z8r2kzb2rmyx6xdj23a338b86sxcb15ws3kzwgwh"; + sha256 = "0g96vgi3s633j4myjfzakkyiml1zspvdvbc0q1vhw8fp5n1xdknm"; + fetchSubmodules = false; }; wkQt = overrideDerivation qt4 (deriv: { name = "qt-mod-4.8.6"; + enableParallelBuilding = true; src = fetchgit { url = "https://github.com/wkhtmltopdf/qt.git"; - rev = "82b568b"; # From git submodule spec in wkhtml repo. - sha256 = "0whppwxnymh5bdayqsqx54n074m99yk6v78z7f0k5prja55yvwyx"; + rev = "48e71c19c7fc67517fb3dca6d42eacb57341c9ba"; # From git submodule spec in wkhtml repo. + sha256 = "1ygr7g3k900zjf54ji6kkfppqnxaqwbh8npr53g2krdw3bmny6fx"; }; configureFlags = '' From feb1e8f0464f58da2e1f54e97bf08cfcaab70e40 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 27 Oct 2015 17:20:26 -0700 Subject: [PATCH 2/2] wkhtmltopdf: add myself as maintainer --- pkgs/tools/graphics/wkhtmltopdf/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/wkhtmltopdf/default.nix b/pkgs/tools/graphics/wkhtmltopdf/default.nix index 295bea4517f..89ea0e94444 100644 --- a/pkgs/tools/graphics/wkhtmltopdf/default.nix +++ b/pkgs/tools/graphics/wkhtmltopdf/default.nix @@ -69,12 +69,12 @@ stdenv.mkDerivation rec { ]; configurePhase = "qmake wkhtmltopdf.pro INSTALLBASE=$out"; - + patches = [ ./makefix.patch ]; enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { homepage = http://wkhtmltopdf.org/; description = "Tools for rendering web pages to PDF or images"; longDescription = '' @@ -85,6 +85,7 @@ stdenv.mkDerivation rec { There is also a C library, if you're into that kind of thing. ''; - license = stdenv.lib.licenses.gpl3Plus; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ jb55 ]; }; }