wget: version 1.11 added, made default.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10456
This commit is contained in:
Yury G. Kudryashov 2008-02-02 20:39:44 +00:00
parent 33bb9b56eb
commit f5bf68f9a8
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,16 @@
args: with args;
stdenv.mkDerivation rec {
name = "wget-" + version;
src = fetchurl {
url = "mirror://gnu/wget/${name}.tar.bz2";
sha256 = "0mhd3181zdp1fwirxw0km7502sfvjmm1ncska9w6s2drczf37aix";
};
buildInputs = [gettext];
meta = {
description = "A console downloading program. Has some features for mirroring sites.";
homepage = http://www.gnu.org/software/wget;
};
}

View file

@ -832,10 +832,12 @@ rec {
inherit fetchurl stdenv;
};
wget = import ../tools/networking/wget {
wgetFun = lib.sumArgs (selectVersion ../tools/networking/wget "1.11") {
inherit fetchurl stdenv gettext;
};
wget = wgetFun null;
which = import ../tools/system/which {
inherit fetchurl stdenv readline;
};