9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 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 sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
27 name = "poppler_fix_build.patch";
31 sourceRoot = "source/pdftoipe";
33 nativeBuildInputs = [ pkg-config ];
34 buildInputs = [ poppler ];
37 install -D pdftoipe $out/bin/pdftoipe
41 description = "A program that tries to convert arbitrary PDF documents to Ipe files";
42 homepage = "https://github.com/otfried/ipe-tools";
43 license = licenses.gpl3Plus;
44 maintainers = with maintainers; [ yrd ];