mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Jakarta Regexp implementation
svn path=/nixpkgs/trunk/; revision=1252
This commit is contained in:
parent
aa45301582
commit
f61c9a2e73
18
pkgs/development/libraries/java/jakarta-regexp/default.nix
Normal file
18
pkgs/development/libraries/java/jakarta-regexp/default.nix
Normal 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];
|
||||
}
|
6
pkgs/development/libraries/java/jakarta-regexp/java-bin-builder.sh
Executable file
6
pkgs/development/libraries/java/jakarta-regexp/java-bin-builder.sh
Executable 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/
|
Loading…
Reference in New Issue
Block a user