1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/java/commons/bcel/default.nix
Daniel Peebles 588a5e92a3 Add commons-math (binary until I get maven build working)
Drop jakarta name from fileupload and update its version

Jakarta regexp has been officially retired, and nothing in nixpkgs uses it, so let’s get rid of it.

Add commons-io

More commons additions/cleanup

Closes #4181

Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
2014-09-20 22:31:47 +01:00

25 lines
692 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;
};
}