From 7418420edc6b88cf6ffee8a85f92d9c231e0a3df Mon Sep 17 00:00:00 2001 From: Martin Bravenboer Date: Mon, 9 Aug 2004 21:40:24 +0000 Subject: [PATCH] BCEL. Java packages are an incredible mess svn path=/nixpkgs/trunk/; revision=1255 --- .../libraries/java/jakarta-bcel/builder.sh | 6 ++++++ .../libraries/java/jakarta-bcel/default.nix | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 pkgs/development/libraries/java/jakarta-bcel/builder.sh create mode 100644 pkgs/development/libraries/java/jakarta-bcel/default.nix diff --git a/pkgs/development/libraries/java/jakarta-bcel/builder.sh b/pkgs/development/libraries/java/jakarta-bcel/builder.sh new file mode 100755 index 000000000000..f6bd3dd9ec7b --- /dev/null +++ b/pkgs/development/libraries/java/jakarta-bcel/builder.sh @@ -0,0 +1,6 @@ +. $stdenv/setup + +tar zxvf $src +cd bcel-5.1 +mkdir -p $out/share/java/ +cp bcel-5.1.jar $out/share/java/ diff --git a/pkgs/development/libraries/java/jakarta-bcel/default.nix b/pkgs/development/libraries/java/jakarta-bcel/default.nix new file mode 100644 index 000000000000..79bd8aa8c8eb --- /dev/null +++ b/pkgs/development/libraries/java/jakarta-bcel/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, regexp}: + +stdenv.mkDerivation { + name = "jakarta-bcel-5.1"; + builder = ./builder.sh; + + src = fetchurl { + url = http://apache.cs.uu.nl/dist/jakarta/bcel/binaries/bcel-5.1.tar.gz; + md5 = "318f22e4f5f59b68cd004db83a7d65dc"; + }; + + inherit regexp; + buildInputs = [stdenv]; +}