tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pdftoipe: Fix build with latest poppler version
Jonas Heinrich
3 years ago
6c0501dd
d6256f19
+13
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
pdftoipe
default.nix
+13
pkgs/tools/graphics/pdftoipe/default.nix
···
3
, fetchFromGitHub
4
, pkg-config
5
, poppler
0
6
}:
7
8
stdenv.mkDerivation rec {
···
15
rev = "v${version}";
16
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
17
};
0
0
0
0
0
0
0
0
0
0
0
0
18
sourceRoot = "source/pdftoipe";
19
20
nativeBuildInputs = [ pkg-config ];
···
3
, fetchFromGitHub
4
, pkg-config
5
, poppler
6
+
, fetchpatch
7
}:
8
9
stdenv.mkDerivation rec {
···
16
rev = "v${version}";
17
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
18
};
19
+
20
+
patches = [
21
+
# Fix build with poppler > 22.03.0
22
+
# https://github.com/otfried/ipe-tools/pull/48
23
+
(fetchpatch {
24
+
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
25
+
sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
26
+
stripLen = 1;
27
+
name = "poppler_fix_build.patch";
28
+
})
29
+
];
30
+
31
sourceRoot = "source/pdftoipe";
32
33
nativeBuildInputs = [ pkg-config ];