summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-01-30 15:52:17 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-01-30 15:52:17 +0000
commit9249f4c892878f65e871b6ab2442be0f78f5d24d (patch)
tree1dd4f87f584fc7524d45541a8a2fdb5b4f191ae7 /pkgs/development
parent744c43434951e89056fb535b040c38137d41e8ac (diff)
* Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/parsing/bison/bison-new.nix15
-rwxr-xr-xpkgs/development/tools/parsing/bison/builder-new.sh10
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/bison/bison-new.nix b/pkgs/development/tools/parsing/bison/bison-new.nix
new file mode 100644
index 0000000000000..b8e3596e79439
--- /dev/null
+++ b/pkgs/development/tools/parsing/bison/bison-new.nix
@@ -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;
+}
diff --git a/pkgs/development/tools/parsing/bison/builder-new.sh b/pkgs/development/tools/parsing/bison/builder-new.sh
new file mode 100755
index 0000000000000..42c191e3544e4
--- /dev/null
+++ b/pkgs/development/tools/parsing/bison/builder-new.sh
@@ -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