@@ -13,8 +13,10 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [
1515 ghostscript atk gtk2 glib fontconfig freetype
16− libgnomecanvas libgnomeprint libgnomeprintui
16+ libgnomecanvas
1717 pango libX11 xproto zlib poppler
18+ ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
19+ libgnomeprint libgnomeprintui
1820 ];
1921
2022 nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
@@ -47,11 +49,11 @@ stdenv.mkDerivation rec {
4749 cp $out/share/xournal/pixmaps/xournal.png $out/share/icons
4850 '';
4951
50− meta = {
52+ meta = with stdenv.lib; {
5153 homepage = http://xournal.sourceforge.net/;
5254 description = "Note-taking application (supposes stylus)";
53− maintainers = [ stdenv.lib.maintainers.guibert ];
54− license = stdenv.lib.licenses.gpl2;
55− platforms = stdenv.lib.platforms.linux;
55+ maintainers = [ maintainers.guibert ];
56+ license = licenses.gpl2;
57+ platforms = with platforms; linux ++ darwin;
5658 };
5759}