diff --git a/pkgs/development/tools/parsing/jikespg/builder.sh b/pkgs/development/tools/parsing/jikespg/builder.sh new file mode 100644 index 000000000000..42fe7fdd6246 --- /dev/null +++ b/pkgs/development/tools/parsing/jikespg/builder.sh @@ -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 \ No newline at end of file diff --git a/pkgs/development/tools/parsing/jikespg/default.nix b/pkgs/development/tools/parsing/jikespg/default.nix new file mode 100644 index 000000000000..9fe1207ba224 --- /dev/null +++ b/pkgs/development/tools/parsing/jikespg/default.nix @@ -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"; + }; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index bfb3acac6c83..53693a3e81a4 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -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; };