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.

Changed files
+10
pkgs
tools
typesetting
pdf2djvu
+10
pkgs/tools/typesetting/pdf2djvu/default.nix
···
{ stdenv
, lib
, fetchFromGitHub
+
, fetchpatch
, autoreconfHook
, gettext
, libtool
···
rev = version;
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 ];