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