9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
21 # Fix build with poppler > 22.03.0
22 # https://github.com/otfried/ipe-tools/pull/48
24 url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
25 hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
27 name = "poppler_fix_build_48.patch";
29 # https://github.com/otfried/ipe-tools/pull/55
31 url = "https://github.com/otfried/ipe-tools/commit/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4.patch";
32 hash = "sha256-qr1AQyWHz1e2a65m05xSHFnP6oSP6qSmMVekNk2flRc=";
34 name = "poppler_fix_build_55.patch";
38 sourceRoot = "${src.name}/pdftoipe";
40 nativeBuildInputs = [ pkg-config ];
41 buildInputs = [ poppler ];
44 install -D pdftoipe $out/bin/pdftoipe
48 description = "Program that tries to convert arbitrary PDF documents to Ipe files";
49 homepage = "https://github.com/otfried/ipe-tools";
50 changelog = "https://github.com/otfried/ipe-tools/releases";
51 license = licenses.gpl3Plus;
52 maintainers = with maintainers; [ yrd ];
53 mainProgram = "pdftoipe";