24 stdenv.mkDerivation rec {
29 url = "https://github.com/otfried/ipe/releases/download/v${version}/ipe-${version}-src.tar.gz";
30 sha256 = "sha256-wx/bZy8kB7dpZsz58BeRGdS1BzbrIoafgEmLyFg7wZU=";
33 nativeBuildInputs = [ pkg-config copyDesktopItems wrapQtAppsHook ];
47 ] ++ (lib.optionals withTeXLive [
53 "IPEPREFIX=${placeholder "out"}"
55 "MOC=${buildPackages.qt6Packages.qtbase}/libexec/moc"
56 "IPE_NO_SPELLCHECK=1" # qtSpell is not yet packaged
59 qtWrapperArgs = lib.optionals withTeXLive [ "--prefix PATH : ${lib.makeBinPath [ texliveSmall ]}" ];
61 enableParallelBuilding = true;
67 genericName = "Drawing editor";
68 comment = "A drawing editor for creating figures in PDF format";
71 mimeTypes = [ "text/xml" "application/pdf" ];
72 categories = [ "Graphics" "Qt" ];
74 startupWMClass = "ipe";
79 mkdir -p $out/share/icons/hicolor/128x128/apps
80 ln -s $out/share/ipe/${version}/icons/icon_128x128.png $out/share/icons/hicolor/128x128/apps/ipe.png
84 description = "Editor for drawing figures";
85 homepage = "http://ipe.otfried.org"; # https not available
86 license = licenses.gpl3Plus;
88 Ipe is an extensible drawing editor for creating figures in PDF and Postscript format.
89 It supports making small figures for inclusion into LaTeX-documents
90 as well as presentations in PDF.
92 maintainers = with maintainers; [ ttuegel ];
93 platforms = platforms.linux;