Add GNU libiconv as a stand-alone package.

svn path=/nixpkgs/trunk/; revision=17282
This commit is contained in:
Ludovic Courtès
2009-09-19 22:03:24 +00:00
parent f2b30a1bf7
commit e3351fb625
3 changed files with 39 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl, libiconv }:
stdenv.mkDerivation (rec {
name = "gettext-0.17";
@@ -42,21 +42,6 @@ stdenv.mkDerivation (rec {
(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";
};
meta = {
description = "GNU libiconv, an iconv(3) implementation";
homepage = http://www.gnu.org/software/libiconv/;
license = "LGPLv2+";
};
})
];
buildInputs = [ libiconv ];
}
else {}))