Moved a number of Java libraries from the GW project to the Nix
Package Collection. svn path=/nixpkgs/trunk/; revision=3803
This commit is contained in:
6
pkgs/development/libraries/java/junit/builder.sh
Executable file
6
pkgs/development/libraries/java/junit/builder.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
set -e
|
||||
. $stdenv/setup
|
||||
|
||||
$unzip/bin/unzip $src
|
||||
mkdir -p $out
|
||||
mv junit*/* $out
|
||||
13
pkgs/development/libraries/java/junit/default.nix
Normal file
13
pkgs/development/libraries/java/junit/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, unzip} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "junit-3.8.1";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/junit/junit3.8.1.zip;
|
||||
md5 = "5110326e4b7f7497dfa60ede4b626751";
|
||||
};
|
||||
|
||||
inherit unzip;
|
||||
}
|
||||
Reference in New Issue
Block a user