* Bleeding edge Bison.

svn path=/nixpkgs/trunk/; revision=730
This commit is contained in:
Eelco Dolstra 2004-01-30 15:52:17 +00:00
parent 744c434349
commit 9249f4c892
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, m4}:
assert !isNull m4;
derivation {
name = "bison-1.875c";
system = stdenv.system;
builder = ./builder-new.sh;
src = fetchurl {
url = ftp://alpha.gnu.org/pub/gnu/bison/bison-1.875c.tar.gz;
md5 = "bba317725fc84013b9d0a6b2576dfaa7";
};
stdenv = stdenv;
m4 = m4;
}

View File

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

View File

@ -203,6 +203,12 @@
m4 = gnum4;
};
bisonnew = (import ../development/tools/parsing/bison/bison-new.nix) {
fetchurl = fetchurl;
stdenv = stdenv;
m4 = gnum4;
};
flex = (import ../development/tools/parsing/flex) {
fetchurl = fetchurl;
stdenv = stdenv;

View File

@ -4,6 +4,7 @@ let {
[ pkgs.zip
pkgs.unzip
pkgs.valgrind
pkgs.bisonnew
pkgs.flexnew
pkgs.par2cmdline
pkgs.cksfv