forked from mirrors/nixpkgs
add Groovy 1.7.1
patch provided by Francois Perrad svn path=/nixpkgs/trunk/; revision=20862
This commit is contained in:
parent
01b602c7f4
commit
7b5896ca33
27
pkgs/development/interpreters/groovy/default.nix
Normal file
27
pkgs/development/interpreters/groovy/default.nix
Normal file
|
@ -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/;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2553,6 +2553,10 @@ let
|
||||||
inherit fetchurl stdenv perl gnum4 ncurses openssl;
|
inherit fetchurl stdenv perl gnum4 ncurses openssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
groovy = import ../development/interpreters/groovy {
|
||||||
|
inherit stdenv fetchurl unzip;
|
||||||
|
};
|
||||||
|
|
||||||
guile = import ../development/interpreters/guile {
|
guile = import ../development/interpreters/guile {
|
||||||
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper;
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue