mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
30 lines
671 B
Nix
30 lines
671 B
Nix
{ stdenv, fetchurl, unzip }:
|
|
|
|
# at runtime, need jdk
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "groovy-${version}";
|
|
version = "2.3.9";
|
|
|
|
src = fetchurl {
|
|
url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
|
|
sha256 = "1lk942v7gd3ism4cw8gqk9ndr6yjwkgxc55z7p366khiv8d4f608";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|