Adding FSharp compiler

svn path=/nixpkgs/trunk/; revision=33758
This commit is contained in:
Michael Raskin 2012-04-12 11:39:40 +00:00
parent 700bedb833
commit 5cdb676ac7
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchurl, mono, unzip, pkgconfig
} :
stdenv.mkDerivation rec {
pname = "fsharp";
date = "2011-08-10";
name = "${pname}-${date}";
src = fetchurl {
url = "http://download.mono-project.com/sources/fsharp/fsharp-cc126f2.zip";
sha256 = "03j2ypnfddl2zpvg8ivhafjy8dlz49b38rdy89l8c3irxdsb7k6i";
};
buildInputs = [mono unzip pkgconfig];
sourceRoot = "fsharp";
# To fix this error when running:
# The file "/nix/store/path/whatever.exe" is an not a valid CIL image
dontStrip = true;
meta = {
description = "A functional CLI language";
homepage = "http://tryfsharp.org/";
license = stdenv.lib.licenses.some;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = with stdenv.lib.platforms; linux;
};
}

View file

@ -2319,6 +2319,8 @@ let
inherit cmake;
};
fsharp = callPackage ../development/compilers/fsharp {};
go = callPackage ../development/compilers/go { };
gprolog = callPackage ../development/compilers/gprolog { };