lol

libinfinity: supports darwin

+6 -3
+6 -3
pkgs/development/libraries/libinfinity/default.nix
··· 3 3 , documentation ? false # build documentation 4 4 , avahiSupport ? false # build support for Avahi in libinfinity 5 5 , stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl 6 - , gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss }: 6 + , gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss 7 + , libintlOrEmpty }: 7 8 8 9 let 9 10 edf = flag: feature: (if flag then "--with-" else "--without-") + feature; ··· 17 18 sha256 = "1idsxb6rz4i55g3vi2sv7hmm57psbccpb57yc4jgphaq6ydgqsr6"; 18 19 }; 19 20 20 - buildInputs = [ pkgconfig glib libxml2 gsasl libidn gss ] 21 + buildInputs = [ pkgconfig glib libxml2 gsasl libidn gss libintlOrEmpty ] 21 22 ++ optional gtkWidgets gtk2 22 23 ++ optional documentation gtkdoc 23 24 ++ optional avahiSupport avahi ··· 34 35 ${edf avahiSupport "avahi"} 35 36 ''; 36 37 38 + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; 39 + 37 40 meta = { 38 41 homepage = http://gobby.0x539.de/; 39 42 description = "An implementation of the Infinote protocol written in GObject-based C"; 40 43 license = stdenv.lib.licenses.lgpl2Plus; 41 44 maintainers = [ stdenv.lib.maintainers.phreedom ]; 42 - platforms = stdenv.lib.platforms.linux; 45 + platforms = with stdenv.lib.platforms; linux ++ darwin; 43 46 }; 44 47 45 48 }