* Added GNU wget to the stdenv.

svn path=/nixpkgs/trunk/; revision=477
This commit is contained in:
Eelco Dolstra 2003-11-04 08:44:46 +00:00
parent acfb15751e
commit 211f1cae14
4 changed files with 25 additions and 0 deletions

View file

@ -8,6 +8,7 @@
pkgs.gnutar
pkgs.gzip
pkgs.bzip2
pkgs.wget
pkgs.binutils
pkgs.gnumake
pkgs.gcc

View file

@ -59,6 +59,11 @@
stdenv = stdenv;
};
wget = (import ../tools/networking/wget) {
fetchurl = fetchurl;
stdenv = stdenv;
};
### SHELLS

View file

@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd wget-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "wget-1.9";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/wget/wget-1.9.tar.gz;
md5 = "18ac093db70801b210152dd69b4ef08a";
};
stdenv = stdenv;
}