summary refs log tree commit diff
path: root/pkgs/development/libraries/java/commons
diff options
context:
space:
mode:
authorDaniel Peebles <pumpkin@me.com>2014-09-20 01:47:31 -0400
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-20 07:13:24 +0100
commit4cb23577826f82ea7d3a4101347e1a874f89d31e (patch)
treefb41a93f7d39150a1bae9613721c725b87dbc2b4 /pkgs/development/libraries/java/commons
parentcbf79969b3c5471372d1f77c44f1874bdfc847a2 (diff)
downloadnixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar.gz
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar.bz2
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar.lz
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar.xz
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.tar.zst
nixpkgs-4cb23577826f82ea7d3a4101347e1a874f89d31e.zip
Drop the jakarta name from BCEL and update its version.
Closes #4180.

Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Diffstat (limited to 'pkgs/development/libraries/java/commons')
-rw-r--r--pkgs/development/libraries/java/commons/bcel/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/java/commons/bcel/default.nix b/pkgs/development/libraries/java/commons/bcel/default.nix
new file mode 100644
index 00000000000..ac9b6a53bf3
--- /dev/null
+++ b/pkgs/development/libraries/java/commons/bcel/default.nix
@@ -0,0 +1,24 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation rec {
+  version = "5.2";
+  name    = "bcel-${version}";
+
+  src = fetchurl {
+    url    = "mirror://apache/commons/bcel/binaries/${name}.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;
+  };
+}