mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
* Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
This commit is contained in:
parent
744c434349
commit
9249f4c892
4 changed files with 32 additions and 0 deletions
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;
|
m4 = gnum4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bisonnew = (import ../development/tools/parsing/bison/bison-new.nix) {
|
||||||
|
fetchurl = fetchurl;
|
||||||
|
stdenv = stdenv;
|
||||||
|
m4 = gnum4;
|
||||||
|
};
|
||||||
|
|
||||||
flex = (import ../development/tools/parsing/flex) {
|
flex = (import ../development/tools/parsing/flex) {
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
|
|
|
@ -4,6 +4,7 @@ let {
|
||||||
[ pkgs.zip
|
[ pkgs.zip
|
||||||
pkgs.unzip
|
pkgs.unzip
|
||||||
pkgs.valgrind
|
pkgs.valgrind
|
||||||
|
pkgs.bisonnew
|
||||||
pkgs.flexnew
|
pkgs.flexnew
|
||||||
pkgs.par2cmdline
|
pkgs.par2cmdline
|
||||||
pkgs.cksfv
|
pkgs.cksfv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue