mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
26 lines
741 B
Nix
26 lines
741 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "5.2";
|
|
name = "commons-bcel-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/commons/bcel/binaries/bcel-${version}.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;
|
|
platforms = with stdenv.lib.platforms; unix;
|
|
};
|
|
}
|