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-04-08 15:25:13 +01:00
version = "2.4.3";
src = fetchurl {
url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
2015-04-08 15:25:13 +01:00
sha256 = "1qfvw49fbw9svk4gsniw0g0ghal0dqm2hf1i77qmcf80lln1vhdh";
};
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 ];
};
}