Jakarta Regexp implementation

svn path=/nixpkgs/trunk/; revision=1252
This commit is contained in:
Martin Bravenboer 2004-08-09 20:07:53 +00:00
parent aa45301582
commit f61c9a2e73
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl}:
# I want some provides mechanism for jar files. These
# jars can then be added to the CLASSPATH by a dependent package.
stdenv.mkDerivation {
name = "jakarta-regexp-1.3";
builder = ./java-bin-builder.sh;
src = fetchurl {
url = http://apache.cs.uu.nl/dist/jakarta/regexp/binaries/jakarta-regexp-1.3.tar.gz;
md5 = "4322f82bea908ca4a7db270f7fa4850d";
};
jars = ["jakarta-regexp-1.3.jar"];
buildInputs = [stdenv];
}

View File

@ -0,0 +1,6 @@
. $stdenv/setup
tar zxvf $src
cd jakarta-regexp-1.3
mkdir -p $out/share/java/
cp jakarta-regexp-1.3.jar $out/share/java/