fontforge: remove ? null on darwin packages and format a little

This commit is contained in:
Sandro Jäckel 2021-08-12 11:30:23 +02:00
parent 411a5246c0
commit 10a0b42996
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -7,7 +7,7 @@
, withGUI ? withGTK
, withPython ? true
, withExtras ? true
, Carbon ? null, Cocoa ? null
, Carbon, Cocoa
}:
assert withGTK -> withGUI;
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
readline uthash woff2 zeromq libuninameslist
python freetype zlib glib giflib libpng libjpeg libtiff libxml2
]
++ lib.optionals withSpiro [libspiro]
++ lib.optionals withSpiro [ libspiro ]
++ lib.optionals withGUI [ gtk3 cairo pango ]
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
@ -71,11 +71,11 @@ stdenv.mkDerivation rec {
rm -r "$out/share/fontforge/python"
'';
meta = {
meta = with lib; {
description = "A font editor";
homepage = "http://fontforge.github.io";
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.erictapen ];
homepage = "https://fontforge.github.io";
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [ maintainers.erictapen ];
};
}