non-Linux platforms: extend to some important pkgs

This commit is contained in:
Vladimír Čunát 2013-06-18 22:02:52 +02:00
parent 3cba755596
commit 2058d95eb4
9 changed files with 10 additions and 5 deletions

View File

@ -15,5 +15,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://xiph.org/flac/;
description = "Library and tools for encoding and decoding the FLAC lossless audio file format";
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -11,5 +11,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.libexpat.org/;
description = "A stream-oriented XML parser library written in C";
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig freetype expat ];
#propagatedBuildInputs = [ expat ]; # !!! shouldn't be necessary, but otherwise pango breaks
configureFlags = "--sysconfdir=/etc --with-cache-dir=/var/cache/fontconfig --disable-docs --with-default-fonts=";
# We should find a better way to access the arch reliably.
@ -36,7 +34,7 @@ stdenv.mkDerivation rec {
# Don't try to write to /etc/fonts or /var/cache/fontconfig at install time.
installFlags = "sysconfdir=$(out)/etc RUN_FC_CACHE_TEST=false fc_cachedir=$(TMPDIR)/dummy";
postInstall = if !freetype.infinality.useInfinality then "" else ''
postInstall = stdenv.lib.optionalString freetype.infinality.useInfinality ''
cd "$out/etc/fonts" && tar xvf ${infinality_patch}
'';
@ -44,5 +42,6 @@ stdenv.mkDerivation rec {
description = "A library for font customization and configuration";
homepage = http://fontconfig.org/;
license = "bsd";
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -75,5 +75,6 @@ stdenv.mkDerivation rec {
homepage = http://www.freetype.org/;
license = if useEncumberedCode then "unfree"
else "GPLv2+"; # or the FreeType License (BSD + advertising clause)
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
license = "LGPLv2+";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -45,6 +45,6 @@ stdenv.mkDerivation rec {
license = "LGPLv2+";
maintainers = with stdenv.lib.maintainers; [urkud raskin];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -20,5 +20,6 @@ stdenv.mkDerivation rec {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -50,6 +50,7 @@ let
'';
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
};
} merge ]); # poppler_drv

View File

@ -66,5 +66,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://curl.haxx.se/";
description = "A command line tool for transferring files with URL syntax";
platforms = stdenv.lib.platforms.all;
};
}