diff options
author | Marc Weber <marco-oweber@gmx.de> | 2010-03-29 23:36:32 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2010-03-29 23:36:32 +0000 |
commit | 7b5896ca33bc1d16329e7335182f0e22a064fadf (patch) | |
tree | b5f0fc6075f89084c0df4c9fdcc7bfe2f27bfb40 /pkgs/development/interpreters/groovy | |
parent | 01b602c7f4ca3e5f12282d36e682d44ed4b9a525 (diff) |
add Groovy 1.7.1
patch provided by Francois Perrad svn path=/nixpkgs/trunk/; revision=20862
Diffstat (limited to 'pkgs/development/interpreters/groovy')
-rw-r--r-- | pkgs/development/interpreters/groovy/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/groovy/default.nix b/pkgs/development/interpreters/groovy/default.nix new file mode 100644 index 0000000000000..b7dc135215cd1 --- /dev/null +++ b/pkgs/development/interpreters/groovy/default.nix @@ -0,0 +1,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/; + }; +} |