* Converted more packages.

* Moved fetchurl, aterm.

svn path=/nixpkgs/trunk/; revision=460
This commit is contained in:
Eelco Dolstra 2003-11-02 18:14:24 +00:00
parent 1894a8b86c
commit 3545617046
10 changed files with 55 additions and 2 deletions

View File

@ -6,8 +6,10 @@
, initialPath = , initialPath =
[ pkgs.coreutils [ pkgs.coreutils
, pkgs.findutils , pkgs.findutils
, pkgs.diffutils
, pkgs.gnused , pkgs.gnused
, pkgs.gnugrep , pkgs.gnugrep
, pkgs.gawk
, pkgs.gnutar , pkgs.gnutar
, pkgs.gzip , pkgs.gzip
, pkgs.binutils , pkgs.binutils

View File

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

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation
{ name = "diffutils-2.8.1"
, system = stdenv.system
, builder = ./builder.sh
, src = fetchurl
{ url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz
, md5 = "71f9c5ae19b60608f6c7f162da86a428"
}
, stdenv = stdenv
}

View File

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

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation
{ name = "gawk-3.1.3"
, system = stdenv.system
, builder = ./builder.sh
, src = fetchurl
{ url = ftp://ftp.nluug.nl/pub/gnu/gawk/gawk-3.1.3.tar.bz2
, md5 = "a116eec17e7ba085febb74c7758823bd"
}
, stdenv = stdenv
}

View File

@ -3,7 +3,7 @@
# packages provided by the Nix Package Collection. # packages provided by the Nix Package Collection.
{system, stdenv}: rec {system, stdenv}: rec
{ fetchurl = (import ../fetchurl) { fetchurl = (import ../build-support/fetchurl)
{ stdenv = stdenv { stdenv = stdenv
} }
@ -19,6 +19,12 @@
, stdenv = stdenv , stdenv = stdenv
} }
# sys-utils/diffutils
, diffutils = (import ../sys-utils/diffutils)
{ fetchurl = fetchurl
, stdenv = stdenv
}
# sys-utils/gnused # sys-utils/gnused
, gnused = (import ../sys-utils/gnused) , gnused = (import ../sys-utils/gnused)
{ fetchurl = fetchurl { fetchurl = fetchurl
@ -32,6 +38,12 @@
, pcre = pcre , pcre = pcre
} }
# sys-utils/gawk
, gawk = (import ../sys-utils/gawk)
{ fetchurl = fetchurl
, stdenv = stdenv
}
# archivers/gnutar # archivers/gnutar
, gnutar = (import ../archivers/gnutar) , gnutar = (import ../archivers/gnutar)
{ fetchurl = fetchurl { fetchurl = fetchurl
@ -75,7 +87,8 @@
, stdenv = stdenv , stdenv = stdenv
} }
, aterm = (import ../aterm) # devel/libs/aterm
, aterm = (import ../devel/libs/aterm)
{ fetchurl = fetchurl { fetchurl = fetchurl
, stdenv = stdenv , stdenv = stdenv
} }