Drop the jakarta name from BCEL and update its version.

Closes #4180.

Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
This commit is contained in:
Daniel Peebles 2014-09-20 01:47:31 -04:00 committed by Mateusz Kowalczyk
parent cbf79969b3
commit 4cb2357782
4 changed files with 26 additions and 24 deletions

View File

@ -0,0 +1,24 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "5.2";
name = "bcel-${version}";
src = fetchurl {
url = "mirror://apache/commons/bcel/binaries/${name}.tar.gz";
sha256 = "13ppnd6afljdjq21jpn4ik2h1yxq8k2kg21ghi0lyb1yap1rd7k6";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp bcel-5.2.jar $out/share/java/
'';
meta = {
homepage = "http://commons.apache.org/proper/commons-bcel/";
description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files";
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
license = stdenv.lib.licenses.asl20;
};
}

View File

@ -1,6 +0,0 @@
source $stdenv/setup
tar zxvf $src
cd bcel-5.1
mkdir -p $out/share/java/
cp bcel-5.1.jar $out/share/java/

View File

@ -1,14 +0,0 @@
{stdenv, fetchurl, regexp}:
stdenv.mkDerivation {
name = "jakarta-bcel-5.1";
builder = ./builder.sh;
src = fetchurl {
url = http://tarballs.nixos.org/bcel-5.1.tar.gz;
md5 = "318f22e4f5f59b68cd004db83a7d65dc";
};
inherit regexp;
buildInputs = [stdenv];
}

View File

@ -6732,6 +6732,8 @@ let
commonsFileUpload = callPackage ../development/libraries/java/jakarta-commons/file-upload { };
commonsBcel = callPackage ../development/libraries/java/commons/bcel { };
fastjar = callPackage ../development/tools/java/fastjar { };
httpunit = callPackage ../development/libraries/java/httpunit { };
@ -6740,10 +6742,6 @@ let
gwtwidgets = callPackage ../development/libraries/java/gwt-widgets { };
jakartabcel = callPackage ../development/libraries/java/jakarta-bcel {
regexp = jakartaregexp;
};
jakartaregexp = callPackage ../development/libraries/java/jakarta-regexp { };
javaCup = callPackage ../development/libraries/java/cup { };