From 64128b7297d005aa1ebc38f0812f97313c0549b0 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 25 May 2013 18:33:48 +0200 Subject: [PATCH] haxe: Update to stable version 3.00. So, finally, Haxe 3 is stable :-) An overview of the new features can be found here: http://haxe.org/manual/haxe3/features This version now has a new build target "tools", so let's use it. Signed-off-by: aszlig --- pkgs/development/compilers/haxe/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix index 1b4f237cca5..93ee1a87edd 100644 --- a/pkgs/development/compilers/haxe/default.nix +++ b/pkgs/development/compilers/haxe/default.nix @@ -1,20 +1,21 @@ { stdenv, fetchsvn, ocaml, zlib, neko }: stdenv.mkDerivation { - name = "haxe-2.10"; + name = "haxe-3.00"; buildInputs = [ocaml zlib neko]; srcs = fetchsvn { - url = "http://haxe.googlecode.com/svn/tags/v2-10"; - sha256 = "0vwdlj0vmmf97bg6cish7yah36aca2q599vwzbr1m0jpjbvindkh"; + url = "http://haxe.googlecode.com/svn/trunk"; + sha256 = "0yfqqyr2jyd9b15xadcvv3fiaipxzgnilqnbbgd6pnaj1zsm31lr"; + rev = 6706; ignoreExternals = true; }; ocamllibs = fetchsvn { url = "http://ocamllibs.googlecode.com/svn/trunk"; - sha256 = "143s320xn2xalm0lnw46h1fvy48qg7my3j8cf66f0wwzv2fisr1q"; - rev = 256; + sha256 = "0ngcsp1qksz98r3qixj1b3l2k9qp7wgn7jxc2fpl8pvv9bc3b52f"; + rev = 287; ignoreExternals = true; }; @@ -29,6 +30,8 @@ stdenv.mkDerivation { rm std/tools/haxedoc/haxedoc std/tools/haxelib/haxelib ''; + buildFlags = [ "all" "tools" ]; + installPhase = '' install -vd "$out/bin" "$out/lib/haxe/std" install -vt "$out/bin" haxe haxelib haxedoc