Merge pull request #25066 from matthewbauer/less-darwin-eval-errors
Add Darwin as platform to various "broken" packages that actually build
This commit is contained in:
commit
80828429d7
@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://code.google.com/p/tesseract-ocr/;
|
homepage = http://code.google.com/p/tesseract-ocr/;
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [viric];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses
|
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses, libiconv, libintlOrEmpty
|
||||||
, withBuildColors ? true
|
, withBuildColors ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,7 +18,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace 'ifdef TPUT_AVAILABLE' 'ifneq ($(TPUT_AVAILABLE), 0)'
|
--replace 'ifdef TPUT_AVAILABLE' 'ifneq ($(TPUT_AVAILABLE), 0)'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk gettext ];
|
buildInputs = [ pkgconfig gtk gettext libintlOrEmpty ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=$(out)"
|
"PREFIX=$(out)"
|
||||||
@ -35,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
that focuses on simplicity and minimalism.
|
that focuses on simplicity and minimalism.
|
||||||
'';
|
'';
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = [ maintainers.garbas ];
|
maintainers = [ maintainers.garbas ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,6 @@ stdenv.mkDerivation {
|
|||||||
homepage = http://wordnet.princeton.edu/;
|
homepage = http://wordnet.princeton.edu/;
|
||||||
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://sylpheed.sraoss.jp/en/;
|
homepage = http://sylpheed.sraoss.jp/en/;
|
||||||
description = "A lightweight and user-friendly e-mail client";
|
description = "A lightweight and user-friendly e-mail client";
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/share|$out/share|g" Makefile antiword.h
|
sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/share|$out/share|g" Makefile antiword.h
|
||||||
|
substituteInPlace Makefile --replace "gcc" "cc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ ./10_fix_buffer_overflow_wordole_c.patch ];
|
patches = [ ./10_fix_buffer_overflow_wordole_c.patch ];
|
||||||
@ -25,6 +26,6 @@ stdenv.mkDerivation {
|
|||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.peti ];
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ stdenv.mkDerivation rec{
|
|||||||
description = "Tools for generating DVD files to be played on standalone DVD players";
|
description = "Tools for generating DVD files to be played on standalone DVD players";
|
||||||
homepage = http://dvdauthor.sourceforge.net/;
|
homepage = http://dvdauthor.sourceforge.net/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,13 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ vala_0_32 libxslt pkgconfig glib dbus_glib gnome3.gtk libxml2
|
buildInputs = [ vala_0_32 libxslt pkgconfig glib dbus_glib gnome3.gtk libxml2
|
||||||
intltool docbook_xsl docbook_xsl_ns makeWrapper ];
|
intltool docbook_xsl docbook_xsl_ns makeWrapper ];
|
||||||
|
|
||||||
|
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace client/Makefile \
|
||||||
|
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = "patchShebangs .";
|
preConfigure = "patchShebangs .";
|
||||||
|
|
||||||
configureFlags = [ "--enable-introspection" ];
|
configureFlags = [ "--enable-introspection" "--disable-Bsymbolic" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
maintainers = with maintainers; [ astsmtl antono lethalman ];
|
maintainers = with maintainers; [ astsmtl antono lethalman ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A programming language for the analysis and transformation of computer languages";
|
description = "A programming language for the analysis and transformation of computer languages";
|
||||||
homepage = http://www.colm.net/open-source/colm;
|
homepage = http://www.colm.net/open-source/colm;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, expat, zlib, boost }:
|
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "exempi-2.4.2";
|
name = "exempi-2.4.2";
|
||||||
@ -12,11 +12,12 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-boost=${boost.dev}"
|
"--with-boost=${boost.dev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ expat zlib boost ];
|
buildInputs = [ expat zlib boost ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
|
homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
code, LGPL or LGPL-compatible for the supporting library).
|
code, LGPL or LGPL-compatible for the supporting library).
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -12,7 +12,7 @@ kdeFramework {
|
|||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
platforms = lib.platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
homepage = "http://www.kde.org";
|
homepage = "http://www.kde.org";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = [ maintainers.ttuegel ];
|
maintainers = [ maintainers.ttuegel ];
|
||||||
|
@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A simple library for processing structured configuration files";
|
description = "A simple library for processing structured configuration files";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
quick to integrate with your code.
|
quick to integrate with your code.
|
||||||
'';
|
'';
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ nckx ];
|
maintainers = with maintainers; [ nckx ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,25 @@
|
|||||||
{ stdenv, fetchurl, cmake, pkgconfig }:
|
{ stdenv, fetchurl, cmake, pkgconfig, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libdiscid-${version}";
|
name = "libdiscid-${version}";
|
||||||
version = "0.6.2";
|
version = "0.6.2";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
||||||
sha256 = "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r";
|
sha256 = "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-framework CoreFoundation -framework IOKit";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
||||||
homepage = http://musicbrainz.org/doc/libdiscid;
|
homepage = http://musicbrainz.org/doc/libdiscid;
|
||||||
maintainers = with maintainers; [ ehmry ];
|
maintainers = with maintainers; [ ehmry ];
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A library for reading DVDs";
|
description = "A library for reading DVDs";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
description = "A glib-based library for file management";
|
description = "A glib-based library for file management";
|
||||||
maintainers = [ maintainers.ttuegel ];
|
maintainers = [ maintainers.ttuegel ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, glib, pkgconfig, perl, intltool, gobjectIntrospection }:
|
{ stdenv, fetchurl, glib, pkgconfig, perl, intltool, gobjectIntrospection, libintlOrEmpty }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libgtop-${version}";
|
name = "libgtop-${version}";
|
||||||
major = "2.34";
|
major = "2.34";
|
||||||
@ -10,9 +10,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
|
buildInputs = libintlOrEmpty;
|
||||||
nativeBuildInputs = [ pkgconfig perl intltool gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig perl intltool gobjectIntrospection ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
, documentation ? false # build documentation
|
, documentation ? false # build documentation
|
||||||
, avahiSupport ? false # build support for Avahi in libinfinity
|
, avahiSupport ? false # build support for Avahi in libinfinity
|
||||||
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
||||||
, gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss }:
|
, gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss
|
||||||
|
, libintlOrEmpty }:
|
||||||
|
|
||||||
let
|
let
|
||||||
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
|
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
|
||||||
@ -17,7 +18,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "1idsxb6rz4i55g3vi2sv7hmm57psbccpb57yc4jgphaq6ydgqsr6";
|
sha256 = "1idsxb6rz4i55g3vi2sv7hmm57psbccpb57yc4jgphaq6ydgqsr6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib libxml2 gsasl libidn gss ]
|
buildInputs = [ pkgconfig glib libxml2 gsasl libidn gss libintlOrEmpty ]
|
||||||
++ optional gtkWidgets gtk2
|
++ optional gtkWidgets gtk2
|
||||||
++ optional documentation gtkdoc
|
++ optional documentation gtkdoc
|
||||||
++ optional avahiSupport avahi
|
++ optional avahiSupport avahi
|
||||||
@ -34,12 +35,14 @@ in stdenv.mkDerivation rec {
|
|||||||
${edf avahiSupport "avahi"}
|
${edf avahiSupport "avahi"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gobby.0x539.de/;
|
homepage = http://gobby.0x539.de/;
|
||||||
description = "An implementation of the Infinote protocol written in GObject-based C";
|
description = "An implementation of the Infinote protocol written in GObject-based C";
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
maintainers = [ stdenv.lib.maintainers.phreedom ];
|
maintainers = [ stdenv.lib.maintainers.phreedom ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://sourceforge.net/projects/liblo;
|
homepage = http://sourceforge.net/projects/liblo;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,6 @@ stdenv.mkDerivation {
|
|||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
description = "Library to read freedesktop.org menu files";
|
description = "Library to read freedesktop.org menu files";
|
||||||
maintainers = [ maintainers.ttuegel ];
|
maintainers = [ maintainers.ttuegel ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,11 +5,12 @@
|
|||||||
, enableJPEG ? true, libjpeg
|
, enableJPEG ? true, libjpeg
|
||||||
, enablePNG ? true, libpng
|
, enablePNG ? true, libpng
|
||||||
, enableTIFF ? true, libtiff
|
, enableTIFF ? true, libtiff
|
||||||
, enableEXR ? true, openexr, ilmbase
|
, enableEXR ? (!stdenv.isDarwin), openexr, ilmbase
|
||||||
, enableJPEG2K ? true, jasper
|
, enableJPEG2K ? true, jasper
|
||||||
, enableFfmpeg ? false, ffmpeg
|
, enableFfmpeg ? false, ffmpeg
|
||||||
, enableGStreamer ? false, gst_all
|
, enableGStreamer ? false, gst_all
|
||||||
, enableEigen ? false, eigen
|
, enableEigen ? false, eigen
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -48,6 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ lib.optional enableFfmpeg ffmpeg
|
++ lib.optional enableFfmpeg ffmpeg
|
||||||
++ lib.optionals enableGStreamer (with gst_all; [ gstreamer gst-plugins-base ])
|
++ lib.optionals enableGStreamer (with gst_all; [ gstreamer gst-plugins-base ])
|
||||||
++ lib.optional enableEigen eigen
|
++ lib.optional enableEigen eigen
|
||||||
|
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Cocoa QTKit ])
|
||||||
;
|
;
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy;
|
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy;
|
||||||
@ -76,11 +78,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
passthru = lib.optionalAttrs enablePython { pythonPath = []; };
|
passthru = lib.optionalAttrs enablePython { pythonPath = []; };
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Open Computer Vision Library with more than 500 algorithms";
|
description = "Open Computer Vision Library with more than 500 algorithms";
|
||||||
homepage = http://opencv.org/;
|
homepage = http://opencv.org/;
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with stdenv.lib.maintainers; [viric flosse];
|
maintainers = with maintainers; [ viric flosse ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://qwt.sourceforge.net/;
|
homepage = http://qwt.sourceforge.net/;
|
||||||
# LGPL 2.1 plus a few exceptions (more liberal)
|
# LGPL 2.1 plus a few exceptions (more liberal)
|
||||||
license = stdenv.lib.licenses.qwt;
|
license = stdenv.lib.licenses.qwt;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
branch = "6";
|
branch = "6";
|
||||||
};
|
};
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec{
|
|||||||
description = "Scaling, colorspace conversion and dithering library";
|
description = "Scaling, colorspace conversion and dithering library";
|
||||||
homepage = https://github.com/sekrit-twc/zimg;
|
homepage = https://github.com/sekrit-twc/zimg;
|
||||||
license = licenses.wtfpl;
|
license = licenses.wtfpl;
|
||||||
platforms = platforms.linux; # check upstream issue #52
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ rnhmjoj ];
|
maintainers = with maintainers; [ rnhmjoj ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
|
|||||||
walk parse trees.
|
walk parse trees.
|
||||||
'';
|
'';
|
||||||
homepage = http://www.antlr.org/;
|
homepage = http://www.antlr.org/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Displays text on your screen";
|
description = "Displays text on your screen";
|
||||||
homepage = http://sourceforge.net/projects/libxosd;
|
homepage = http://sourceforge.net/projects/libxosd;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,6 @@ stdenv.mkDerivation {
|
|||||||
license = stdenv.lib.licenses.isc;
|
license = stdenv.lib.licenses.isc;
|
||||||
homepage = http://fragglet.github.io/lhasa;
|
homepage = http://fragglet.github.io/lhasa;
|
||||||
maintainers = with stdenv.lib; [ maintainers.sander ];
|
maintainers = with stdenv.lib; [ maintainers.sander ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.nongnu.org/icoutils/;
|
homepage = http://www.nongnu.org/icoutils/;
|
||||||
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
|
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib }:
|
{ stdenv, fetchurl, pkgconfig, glib, libintlOrEmpty }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "desktop-file-utils-0.22";
|
name = "desktop-file-utils-0.22";
|
||||||
@ -8,11 +10,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4";
|
sha256 = "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib ];
|
buildInputs = [ pkgconfig glib libintlOrEmpty ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.freedesktop.org/wiki/Software/desktop-file-utils;
|
homepage = http://www.freedesktop.org/wiki/Software/desktop-file-utils;
|
||||||
description = "Command line utilities for working with .desktop files";
|
description = "Command line utilities for working with .desktop files";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make posix
|
make CC=cc posix
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://savannah.nongnu.org/projects/flvstreamer;
|
homepage = http://savannah.nongnu.org/projects/flvstreamer;
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.thammers ];
|
maintainers = [ stdenv.lib.maintainers.thammers ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ let
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://miniupnp.free.fr/;
|
homepage = http://miniupnp.free.fr/;
|
||||||
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
||||||
platforms = with stdenv.lib.platforms; linux ++ freebsd;
|
platforms = with stdenv.lib.platforms; linux ++ freebsd ++ darwin;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755
|
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755
|
||||||
makeFlags="DESTROOT=$out"
|
makeFlags="DESTROOT=$out CC=cc"
|
||||||
|
|
||||||
# We want to ignore the $glibc/include/paths.h definition of
|
# We want to ignore the $glibc/include/paths.h definition of
|
||||||
# sendmail path.
|
# sendmail path.
|
||||||
@ -35,6 +35,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Daemon for running commands at specific times (Vixie Cron)";
|
description = "Daemon for running commands at specific times (Vixie Cron)";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||||||
description = "Source code renderer with syntax highlighting";
|
description = "Source code renderer with syntax highlighting";
|
||||||
homepage = http://www.gnu.org/software/src-highlite/;
|
homepage = http://www.gnu.org/software/src-highlite/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
longDescription =
|
longDescription =
|
||||||
''
|
''
|
||||||
GNU Source-highlight, given a source file, produces a document
|
GNU Source-highlight, given a source file, produces a document
|
||||||
|
Loading…
x
Reference in New Issue
Block a user