nixpkgs/pkgs/by-name/co/commonsBcel/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
791 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
2024-08-05 12:49:19 +00:00
version = "6.10.0";
pname = "commons-bcel";
src = fetchurl {
url = "mirror://apache/commons/bcel/binaries/bcel-${version}-bin.tar.gz";
2024-08-05 12:49:19 +00:00
hash = "sha256-RRVXxPtwbT9AX92T60uDJpFWF6DiotcG1KvKrlFfEWU=";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp bcel-${version}.jar $out/share/java/
'';
meta = {
homepage = "https://commons.apache.org/proper/commons-bcel/";
description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
maintainers = with lib.maintainers; [ copumpkin ];
license = lib.licenses.asl20;
platforms = with lib.platforms; unix;
};
}