10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
22 # Fix build with poppler > 22.03.0
23 # https://github.com/otfried/ipe-tools/pull/48
25 url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
26 hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
28 name = "poppler_fix_build_48.patch";
30 # https://github.com/otfried/ipe-tools/pull/55
32 url = "https://github.com/otfried/ipe-tools/commit/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4.patch";
33 hash = "sha256-qr1AQyWHz1e2a65m05xSHFnP6oSP6qSmMVekNk2flRc=";
35 name = "poppler_fix_build_55.patch";
39 sourceRoot = "${src.name}/pdftoipe";
41 nativeBuildInputs = [ pkg-config ];
42 buildInputs = [ poppler ];
45 install -D pdftoipe $out/bin/pdftoipe
49 description = "Program that tries to convert arbitrary PDF documents to Ipe files";
50 homepage = "https://github.com/otfried/ipe-tools";
51 changelog = "https://github.com/otfried/ipe-tools/releases";
52 license = licenses.gpl3Plus;
53 maintainers = with maintainers; [ yrd ];
54 mainProgram = "pdftoipe";