Added jikespg, an oldskool parser generator
svn path=/nixpkgs/trunk/; revision=5038
This commit is contained in:
parent
6dd957cfe3
commit
a63588689d
3 changed files with 31 additions and 0 deletions
17
pkgs/development/tools/parsing/jikespg/builder.sh
Normal file
17
pkgs/development/tools/parsing/jikespg/builder.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
source $stdenv/setup
|
||||
|
||||
set -e
|
||||
|
||||
configurePhase=configurePhase
|
||||
configurePhase() {
|
||||
tar zxvf $src
|
||||
cd jikespg/src
|
||||
}
|
||||
|
||||
installPhase=installPhase
|
||||
installPhase() {
|
||||
ensureDir $out/bin
|
||||
cp jikespg $out/bin
|
||||
}
|
||||
|
||||
genericBuild
|
10
pkgs/development/tools/parsing/jikespg/default.nix
Normal file
10
pkgs/development/tools/parsing/jikespg/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jikespg-1.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/jikes/jikespg-1.3.tar.gz;
|
||||
md5 = "eba183713d9ae61a887211be80eeb21f";
|
||||
};
|
||||
}
|
|
@ -883,6 +883,10 @@ rec {
|
|||
inherit fetchurl stdenv aterm getopt pkgconfig;
|
||||
};
|
||||
|
||||
jikespg = (import ../development/tools/parsing/jikespg) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
expat = (import ../development/libraries/expat) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue