non-Linux platforms: extend to some important pkgs

wip/yesman
Vladimír Čunát 11 years ago
parent 3cba755596
commit 2058d95eb4
  1. 1
      pkgs/applications/audio/flac/default.nix
  2. 1
      pkgs/development/libraries/expat/default.nix
  3. 5
      pkgs/development/libraries/fontconfig/default.nix
  4. 1
      pkgs/development/libraries/freetype/default.nix
  5. 2
      pkgs/development/libraries/gtk+/2.x.nix
  6. 2
      pkgs/development/libraries/gtk+/3.x.nix
  7. 1
      pkgs/development/libraries/libpng/default.nix
  8. 1
      pkgs/development/libraries/poppler/default.nix
  9. 1
      pkgs/tools/networking/curl/default.nix

@ -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;
};
}

@ -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;
};
}

@ -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;
};
}

@ -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;
};
}

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

@ -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;
};
}

@ -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;
};
}

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

@ -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;
};
}

Loading…
Cancel
Save