GNU gettext: Fix {Cyg,Dar}win hack.

svn path=/nixpkgs/trunk/; revision=17274
This commit is contained in:
Ludovic Courtès 2009-09-19 12:21:39 +00:00
parent 50c69a093c
commit 4e029cf721

View File

@ -1,6 +1,6 @@
{stdenv, fetchurl}: {stdenv, fetchurl}:
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
name = "gettext-0.17"; name = "gettext-0.17";
src = fetchurl { src = fetchurl {
@ -40,19 +40,23 @@ stdenv.mkDerivation rec {
// //
(if (stdenv.system == "i686-darwin") (if (stdenv.system == "i686-darwin" || stdenv.system == "i686-cygwin")
then (stdenv.mkDerivation rec { then {
name = "libiconv-1.13.1"; buildInputs = [
stdenv.mkDerivation rec {
name = "libiconv-1.13.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/libiconv/${name}.tar.gz"; url = "mirror://gnu/libiconv/${name}.tar.gz";
sha256 = "0jcsjk2g28bq20yh7rvbn8xgq6q42g8dkkac0nfh12b061l638sm"; sha256 = "0jcsjk2g28bq20yh7rvbn8xgq6q42g8dkkac0nfh12b061l638sm";
}; };
meta = { meta = {
description = "GNU libiconv, an iconv(3) implementation"; description = "GNU libiconv, an iconv(3) implementation";
homepage = http://www.gnu.org/software/libiconv/; homepage = http://www.gnu.org/software/libiconv/;
license = "LGPLv2+"; license = "LGPLv2+";
}; };
}) }
else {}) ];
}
else {}))