2014-09-20 01:47:31 -04:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "5.2";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "commons-bcel";
|
2014-09-20 01:47:31 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-20 02:19:32 -04:00
|
|
|
url = "mirror://apache/commons/bcel/binaries/bcel-${version}.tar.gz";
|
2014-09-20 01:47:31 -04: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;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2014-09-20 01:47:31 -04:00
|
|
|
};
|
|
|
|
}
|