mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
wget: version 1.11 added, made default.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10456
This commit is contained in:
parent
33bb9b56eb
commit
f5bf68f9a8
3 changed files with 19 additions and 1 deletions
16
pkgs/tools/networking/wget/1.11.nix
Normal file
16
pkgs/tools/networking/wget/1.11.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue