2014-09-20 06:47:31 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "5.2";
|
2014-09-20 07:19:32 +01:00
|
|
|
name = "commons-bcel-${version}";
|
2014-09-20 06:47:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-20 07:19:32 +01:00
|
|
|
url = "mirror://apache/commons/bcel/binaries/bcel-${version}.tar.gz";
|
2014-09-20 06:47:31 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|