groovy: update from 1.7.1 to 2.3.6 and adopt it

This commit is contained in:
Pascal Wittmann 2014-08-07 23:40:30 +02:00
parent b0f5c885ec
commit b18d0eee05

View File

@ -3,11 +3,12 @@
# at runtime, need jdk # at runtime, need jdk
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "groovy-1.7.1"; name = "groovy-${version}";
version = "2.3.6";
src = fetchurl { src = fetchurl {
url = "http://dist.groovy.codehaus.org/distributions/groovy-binary-1.7.1.zip"; url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
sha256 = "0a204f6835f07e6a079bd4761e70cd5e0c31ebc0c9eb293fda11dfb2d8bf137c"; sha256 = "0yvk6x1f68avl52zzwx9p3faiqr98rfps70vql05j6kd7syyp0ah";
}; };
installPhase = '' installPhase = ''
@ -20,8 +21,10 @@ stdenv.mkDerivation rec {
buildInputs = [ unzip ]; buildInputs = [ unzip ];
meta = { meta = with stdenv.lib; {
description = "An agile dynamic language for the Java Platform"; description = "An agile dynamic language for the Java Platform";
homepage = http://groovy.codehaus.org/; homepage = http://groovy.codehaus.org/;
license = licenses.asl20;
maintainers = with maintainers; [ pSub ];
}; };
} }