mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
doh!
svn path=/nixpkgs/trunk/; revision=11594
This commit is contained in:
parent
d5d1cd93de
commit
7b9624cda6
2 changed files with 39 additions and 0 deletions
22
pkgs/development/compilers/scala/default.nix
Normal file
22
pkgs/development/compilers/scala/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
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";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ant-contrib-1.0b3";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv ant-contrib*.jar $out/
|
||||
'';
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/ant-contrib/ant-contrib-1.0b3-bin.tar.bz2;
|
||||
sha256 = "96effcca2581c1ab42a4828c770b48d54852edf9e71cefc9ed2ffd6590571ad1";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue