* Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
This commit is contained in:
parent
744c434349
commit
9249f4c892
15
pkgs/development/tools/parsing/bison/bison-new.nix
Normal file
15
pkgs/development/tools/parsing/bison/bison-new.nix
Normal 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;
|
||||
}
|
10
pkgs/development/tools/parsing/bison/builder-new.sh
Executable file
10
pkgs/development/tools/parsing/bison/builder-new.sh
Executable 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
|
@ -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;
|
||||
|
@ -4,6 +4,7 @@ let {
|
||||
[ pkgs.zip
|
||||
pkgs.unzip
|
||||
pkgs.valgrind
|
||||
pkgs.bisonnew
|
||||
pkgs.flexnew
|
||||
pkgs.par2cmdline
|
||||
pkgs.cksfv
|
||||
|
Loading…
Reference in New Issue
Block a user