mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #182450 from onny/pdftoipe
pdftoipe: Fix build with latest poppler version
This commit is contained in:
commit
edcd3af79f
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, poppler
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -15,6 +16,18 @@ stdenv.mkDerivation rec {
|
||||
rev = "v${version}";
|
||||
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with poppler > 22.03.0
|
||||
# https://github.com/otfried/ipe-tools/pull/48
|
||||
(fetchpatch {
|
||||
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
|
||||
sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
|
||||
stripLen = 1;
|
||||
name = "poppler_fix_build.patch";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "source/pdftoipe";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user