3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/groovy/default.nix

31 lines
671 B
Nix
Raw Normal View History

{ stdenv, fetchurl, unzip }:
# at runtime, need jdk
stdenv.mkDerivation rec {
name = "groovy-${version}";
2014-09-25 15:49:25 +01:00
version = "2.3.7";
src = fetchurl {
url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
2014-09-25 15:49:25 +01:00
sha256 = "09957vi33c8bgk6z4wnidch5sz3s183yh6xba8cdjy5f7jpzmmiq";
};
installPhase = ''
mkdir -p $out
rm bin/*.bat
mv * $out
'';
phases = "unpackPhase installPhase";
buildInputs = [ unzip ];
meta = with stdenv.lib; {
description = "An agile dynamic language for the Java Platform";
homepage = http://groovy.codehaus.org/;
license = licenses.asl20;
maintainers = with maintainers; [ pSub ];
};
}