about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorHarrison Houghton <hora.rhino@gmail.com>2021-05-09 15:11:45 -0400
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-13 09:49:58 -0700
commiteca1520ebbccb9bc678885426173b089c2401009 (patch)
treefe7a7d6b3150b4bb4590bc2e841a89405b87cf9d /pkgs/tools/typesetting
parent01b771bce0a25e316ed956f2f02cc5055e0d5258 (diff)
downloadnixlib-eca1520ebbccb9bc678885426173b089c2401009.tar
nixlib-eca1520ebbccb9bc678885426173b089c2401009.tar.gz
nixlib-eca1520ebbccb9bc678885426173b089c2401009.tar.bz2
nixlib-eca1520ebbccb9bc678885426173b089c2401009.tar.lz
nixlib-eca1520ebbccb9bc678885426173b089c2401009.tar.xz
nixlib-eca1520ebbccb9bc678885426173b089c2401009.tar.zst
nixlib-eca1520ebbccb9bc678885426173b089c2401009.zip
pdf2djvu: unbreak
The released version requires "poppler-splash", but as of 20.12, that
package is not part of poppler, it seems. The included patch is already
merged to jwilk/pdf2jdvu:master, and simply changes the requirement to
"poppler" only.
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/pdf2djvu/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/pdf2djvu/default.nix b/pkgs/tools/typesetting/pdf2djvu/default.nix
index 370d54adde97..47256f9f7ee6 100644
--- a/pkgs/tools/typesetting/pdf2djvu/default.nix
+++ b/pkgs/tools/typesetting/pdf2djvu/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , lib
 , fetchFromGitHub
+, fetchpatch
 , autoreconfHook
 , gettext
 , libtool
@@ -25,6 +26,15 @@ stdenv.mkDerivation rec {
     sha256 = "1igabfy3fd7qndihmkfk9incc15pjxpxh2cn5pfw5fxfwrpjrarn";
   };
 
+  patches = [
+    # Not included in 0.9.17.1, but will be in the next version.
+    (fetchpatch {
+      name = "no-poppler-splash.patch";
+      url = "https://github.com/jwilk/pdf2djvu/commit/2ec7eee57a47bbfd296badaa03dc20bf71b50201.patch";
+      sha256 = "03kap7k2j29r16qgl781cxpswzg3r2yn513cqycgl0vax2xj3gly";
+    })
+  ];
+
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
   buildInputs = [