3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/scala/default.nix
Tobias Hammerschmidt 326a234888 version update
svn path=/nixpkgs/trunk/; revision=11774
2008-05-07 18:37:55 +00:00

23 lines
470 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "scala-2.7.1";
src = fetchurl {
url = "http://www.scala-lang.org/downloads/distrib/files/${name}.final.tar.gz";
sha256 = "3cad113ed7b84f4f009897f6066bee28459e63a1cf1a6d5d56f10f4d1f9819ec";
};
installPhase = ''
mkdir -p $out
mv * $out
rm -f $out/bin/*.bat
'';
phases = "unpackPhase installPhase";
meta = {
description = "Scala is a general purpose programming language";
};
}