2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2014-09-20 05:47:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-08-05 12:49:19 +00:00
|
|
|
version = "6.10.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "commons-bcel";
|
2014-09-20 05:47:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-11-27 16:54:37 +00:00
|
|
|
url = "mirror://apache/commons/bcel/binaries/bcel-${version}-bin.tar.gz";
|
2024-08-05 12:49:19 +00:00
|
|
|
hash = "sha256-RRVXxPtwbT9AX92T60uDJpFWF6DiotcG1KvKrlFfEWU=";
|
2014-09-20 05:47:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
tar xf ${src}
|
|
|
|
mkdir -p $out/share/java
|
2022-11-27 16:54:37 +00:00
|
|
|
cp bcel-${version}.jar $out/share/java/
|
2014-09-20 05:47:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2022-01-03 15:53:12 +00:00
|
|
|
homepage = "https://commons.apache.org/proper/commons-bcel/";
|
2014-09-20 05:47:31 +00:00
|
|
|
description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ copumpkin ];
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = with lib.platforms; unix;
|
2014-09-20 05:47:31 +00:00
|
|
|
};
|
|
|
|
}
|