Remove abc

The package does not build and the links are no longer available
This commit is contained in:
Tim Steinbach 2016-11-03 21:16:29 -04:00
parent d8fc6c75fe
commit 4e50480757
No known key found for this signature in database
GPG Key ID: 83FF2ACAEB6C2D24
10 changed files with 0 additions and 220 deletions

View File

@ -1,4 +0,0 @@
source $stdenv/setup
mkdir -p $out/jars
cp $src $out/jars/$jarname.jar

View File

@ -1,40 +0,0 @@
source $stdenv/setup
tar zxvf $src
cd abc-*
for p in $patches; do
echo "applying patch $p"
patch -p1 < $p
done
cat > ant.settings <<EOF
polyglot.loc=$polyglot/jars/polyglot.jar
polyglot.cupclasses.loc=$polyglot/jars/java_cup.jar
jflex.loc=
soot.loc=$soot/jars/soot.jar
jasmin.loc=$jasmin/jars/jasmin.jar
xact.loc=$xact/jars/xact.jar
paddle.loc=$paddle/jars/paddle.jar
jedd.runtime.jar=$jedd/jars/jedd.runtime.jar
javabdd.jar=$javabdd/jars/javabdd.jar
EOF
$apacheAnt/bin/ant jars
mkdir -p $out/jars
cp lib/abc.jar $out/jars
cp lib/abc-runtime.jar $out/jars
cp lib/abc-testing.jar $out/jars
cp lib/abc-complete.jar $out/jars
# Create the executable abc script
mkdir -p $out/bin
cat > $out/bin/abc <<EOF
#! $SHELL -e
exec $jre/bin/java -classpath $out/jars/abc-complete.jar -Xmx256M -Dabc.home=$out/jars abc.main.Main \$@
EOF
chmod +x $out/bin/abc

View File

@ -1,79 +0,0 @@
{stdenv, fetchurl, javaCup, jre, apacheAnt}:
let
soot =
import ./soot {
inherit stdenv fetchurl apacheAnt polyglot jasmin;
};
jasmin =
import ./jasmin {
inherit stdenv fetchurl apacheAnt javaCup;
};
polyglot =
import ./polyglot {
inherit stdenv fetchurl apacheAnt;
};
jedd =
stdenv.mkDerivation {
name = "jedd-runtime-snapshot";
jarname = "jedd.runtime";
builder = ./builder-binjar.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/lib/jedd-runtime-snapshot.jar;
md5 = "595c5ac2f6384f4c34f1854891b5e422";
};
};
javabdd =
stdenv.mkDerivation {
name = "javabdd-0.6";
jarname = "javabdd";
builder = ./builder-binjar.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/lib/javabdd_0.6.jar;
md5 = "6e0246e891b7431f4e7265b5b1471307";
};
};
paddle =
stdenv.mkDerivation {
name = "paddle-snapshot";
jarname = "paddle";
builder = ./builder-binjar.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/lib/paddle-snapshot.jar;
md5 = "a8e032310137945124a2850cd8cfc277";
};
};
xact =
stdenv.mkDerivation {
name = "xact-complete-1.0-1";
jarname = "xact";
builder = ./builder-binjar.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/lib/xact-complete-1.0-1.jar;
md5 = "9810ad8762101ea691a895f0a6b7a5c3";
};
};
in
stdenv.mkDerivation {
name = "abc-1.2.0";
builder = ./builder.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/abc-1.2.0-src.tar.gz;
md5 = "aef9e8eac860f904f2a841e18770dc47";
};
inherit apacheAnt polyglot soot javaCup xact jasmin jre javabdd paddle jedd;
patches = [];
meta = {
description = "The AspectBench Compiler for AspectJ";
};
}

View File

@ -1,24 +0,0 @@
source $stdenv/setup
tar zxvf $src
cd jasmin-*
sed -e 's/<javac/<javac source="1.4"/' build.xml > build-tmp.xml
mv build-tmp.xml build.xml
cat > ant.settings <<EOF
java_cup.jar=$javaCup
# Location in which to generate Jasmin release tarballs
release.loc=lib
# Version of Jasmin for tagging tarballs
jasmin.version=foo
build.compiler=javac1.4
EOF
ant jasmin-jar
mkdir -p $out/jars/
mv lib/jasminclasses-foo.jar $out/jars/jasmin.jar

View File

@ -1,14 +0,0 @@
{stdenv, fetchurl, apacheAnt, javaCup}:
stdenv.mkDerivation {
name = "jasmin-dev-20060422015512";
builder = ./builder.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/jasmin-dev-20060422015512.tar.gz;
md5 = "0e49e532b4658c959582c5d5b5e28bf1";
};
inherit javaCup;
buildInputs = [apacheAnt];
}

View File

@ -1,11 +0,0 @@
source $stdenv/setup
tar zxvf $src
cd polyglot-*
ant polyglot-jar
ant cup
mkdir -p $out/jars/
mv lib/java_cup.jar $out/jars/
mv lib/polyglot*.jar $out/jars/

View File

@ -1,13 +0,0 @@
{stdenv, fetchurl, apacheAnt}:
stdenv.mkDerivation {
name = "polyglot-dev-20060422015512";
builder = ./builder.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/polyglot-dev-20060422015512.tar.gz;
md5 = "6972fe537b4edd41872ed1cf24d24b50";
};
buildInputs = [apacheAnt];
}

View File

@ -1,19 +0,0 @@
source $stdenv/setup
tar zxvf $src
cd soot-*
export NIX_ANT_OPTS="$ANT_OPTS -Xmx200m"
cat > ant.settings <<EOF
polyglot.jar=$polyglot/jars/polyglot.jar
jasmin.jar=$jasmin/jars/jasmin.jar
soot.version=foo
release.loc=lib
javaapi.url=http://java.sun.com/j2se/1.4.2/docs/api/
EOF
ant classesjar
mkdir -p $out/jars/
mv lib/sootclasses-foo.jar $out/jars/soot.jar

View File

@ -1,14 +0,0 @@
{stdenv, fetchurl, apacheAnt, polyglot, jasmin}:
stdenv.mkDerivation {
name = "soot-dev-20060422015512";
builder = ./builder.sh;
src = fetchurl {
url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/soot-dev-20060422015512.tar.gz;
md5 = "20dae3e31215b7ec88e3ff32a107d713";
};
inherit polyglot jasmin;
buildInputs = [apacheAnt];
}

View File

@ -4449,8 +4449,6 @@ in
### DEVELOPMENT / COMPILERS
abc = callPackage ../development/compilers/abc/default.nix { };
aldor = callPackage ../development/compilers/aldor { };
aliceml = callPackage ../development/compilers/aliceml { };