nixpkgs/pkgs/development/compilers/jdk/default.nix
Tobias Hammerschmidt d5d1cd93de added scala an object oriented and functional programming language
svn path=/nixpkgs/trunk/; revision=11593
2008-04-11 22:06:32 +00:00

23 lines
471 B
Nix

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