summary refs log tree commit diff
path: root/pkgs/development/interpreters/groovy/default.nix
blob: b7dc135215cd18de3fb6689b649cc5f88a6fb349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
args: with args;

# at runtime, need jdk

stdenv.mkDerivation rec {
  name = "groovy-1.7.1";

  src = fetchurl {
    url = "http://dist.groovy.codehaus.org/distributions/groovy-binary-1.7.1.zip";
    sha256 = "0a204f6835f07e6a079bd4761e70cd5e0c31ebc0c9eb293fda11dfb2d8bf137c";
  };

  installPhase = ''
    ensureDir $out
    rm bin/*.bat
    mv * $out
  '';

  phases = "unpackPhase installPhase";

  buildInputs = [unzip];

  meta = {
    description = "An agile dynamic language for the Java Platform";
    homepage = http://groovy.codehaus.org/;
  };
}