mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
31 lines
667 B
Nix
31 lines
667 B
Nix
{ stdenv, fetchurl, unzip }:
|
|
|
|
# at runtime, need jdk
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "groovy-${version}";
|
|
version = "2.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip";
|
|
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";
|
|
homepage = http://groovy-lang.org/;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|