* Converted more packages.
* Moved fetchurl, aterm. svn path=/nixpkgs/trunk/; revision=460
This commit is contained in:
parent
1894a8b86c
commit
3545617046
@ -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
|
||||||
|
9
pkgs-ng/sys-utils/diffutils/builder.sh
Executable file
9
pkgs-ng/sys-utils/diffutils/builder.sh
Executable 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
|
10
pkgs-ng/sys-utils/diffutils/default.fix
Normal file
10
pkgs-ng/sys-utils/diffutils/default.fix
Normal 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
|
||||||
|
}
|
9
pkgs-ng/sys-utils/gawk/builder.sh
Executable file
9
pkgs-ng/sys-utils/gawk/builder.sh
Executable 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
|
10
pkgs-ng/sys-utils/gawk/default.fix
Normal file
10
pkgs-ng/sys-utils/gawk/default.fix
Normal 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
|
||||||
|
}
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user