2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2010-03-30 00:36:32 +01:00
|
|
|
|
|
|
|
# at runtime, need jdk
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "groovy-1.7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://dist.groovy.codehaus.org/distributions/groovy-binary-1.7.1.zip";
|
|
|
|
sha256 = "0a204f6835f07e6a079bd4761e70cd5e0c31ebc0c9eb293fda11dfb2d8bf137c";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2010-03-30 00:36:32 +01:00
|
|
|
rm bin/*.bat
|
|
|
|
mv * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
phases = "unpackPhase installPhase";
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
buildInputs = [ unzip ];
|
2010-03-30 00:36:32 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An agile dynamic language for the Java Platform";
|
|
|
|
homepage = http://groovy.codehaus.org/;
|
|
|
|
};
|
|
|
|
}
|