git.iko.soy/typeable/nixpkgs
on master help sign in
Clean-up abc package expressions.
commitcbca7d5707cc409c60cfc517feb679a80c82e5e2 authorNicolas B. Pierron <nicolas.b.pierron@gmail.com> dateSat 2 Apr 2016, 18:56 (11 years ago) parentd6998b0
2 files changed+20−27
pkgs/development/compilers/abc/default.nix+19−19 pkgs/top-level/all-packages.nix+1−8
pkgs/development/compilers/abc/default.nix+19−19
@@ -1,23 +1,6 @@
1−{stdenv, fetchurl, javaCup, jre, apacheAnt, patches} :
2−
3−let {
4− body =
5− stdenv.mkDerivation {
6− name = "abc-1.2.0";
7− builder = ./builder.sh;
8−
9− src = fetchurl {
10− url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/abc-1.2.0-src.tar.gz;
11− md5 = "aef9e8eac860f904f2a841e18770dc47";
12− };
13−
14− inherit apacheAnt polyglot soot javaCup xact jasmin jre javabdd paddle jedd patches;
15−
16− meta = {
17− description = "The AspectBench Compiler for AspectJ";
18− };
19− };
1+{stdenv, fetchurl, javaCup, jre, apacheAnt}:
202
3+let
214 soot =
225 import ./soot {
236 inherit stdenv fetchurl apacheAnt polyglot jasmin;
@@ -76,4 +59,21 @@ let {
7659 md5 = "9810ad8762101ea691a895f0a6b7a5c3";
7760 };
7861 };
62+in
63+
64+stdenv.mkDerivation {
65+ name = "abc-1.2.0";
66+ builder = ./builder.sh;
67+
68+ src = fetchurl {
69+ url = http://abc.comlab.ox.ac.uk/dists/1.2.0/files/abc-1.2.0-src.tar.gz;
70+ md5 = "aef9e8eac860f904f2a841e18770dc47";
71+ };
72+
73+ inherit apacheAnt polyglot soot javaCup xact jasmin jre javabdd paddle jedd;
74+ patches = [];
75+
76+ meta = {
77+ description = "The AspectBench Compiler for AspectJ";
78+ };
7979}
pkgs/top-level/all-packages.nix+1−8
@@ -3924,14 +3924,7 @@ in
39243924
39253925 ### DEVELOPMENT / COMPILERS
39263926
3927− abc =
3928− abcPatchable [];
3929−
3930− abcPatchable = patches :
3931− callPackage ../development/compilers/abc/default.nix {
3932− inherit patches;
3933− javaCup = callPackage ../development/libraries/java/cup { };
3934− };
3927+ abc = callPackage ../development/compilers/abc/default.nix { };
39353928
39363929 aldor = callPackage ../development/compilers/aldor { };
39373930