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.
This commit is contained in:
Harrison Houghton 2021-05-09 15:11:45 -04:00 committed by Jonathan Ringer
parent 01b771bce0
commit eca1520ebb

View File

@ -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 = [