1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/interpreters/groovy/default.nix

31 lines
667 B
Nix
Raw Normal View History

{ stdenv, fetchurl, unzip }:
# at runtime, need jdk
stdenv.mkDerivation rec {
name = "groovy-${version}";
2015-03-23 14:28:58 +00:00
version = "2.4.2";
src = fetchurl {
url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
2015-03-23 14:28:58 +00:00
sha256 = "02vbg9ywn76rslkinjk1dw3wrj76p5bahbhvz71drlp30cs1r28w";
};
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";
2015-02-24 17:59:17 +00:00
homepage = http://groovy-lang.org/;
license = licenses.asl20;
maintainers = with maintainers; [ pSub ];
};
}