Commit Graph

26 Commits

Author SHA1 Message Date
volth
c727e7e7d6
haxe: 3.4.4 -> 3.4.6 2018-02-18 22:54:21 +00:00
volth
0b5fc7fa64 haxe: 3.4.3 -> 3.4.4 2017-10-10 07:51:49 +02:00
volth
9efe27ee3b haxe: 3.4.2 -> 3.4.3 2017-09-18 23:09:07 +02:00
Volth
37ef9e3b60 haxe: fix hxcpp, introduce haxePackage with hxjava and hxcs 2017-07-03 20:06:23 +00:00
Andy Li
56b30bf98a haxe: 3.2.1 -> 3.4.2 2017-05-06 00:41:43 +08:00
Alexei Boronine
0a1278a679 haxe: 3.1.3 -> 3.2.1 2016-12-16 21:54:30 +08:00
Alexei Boronine
1beb9e6d1e haxe: enable darwin platform (#21127) 2016-12-13 19:22:31 +01:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Samuel Rivas
d1e6f055fe Fix haxe to compile with ocaml 4.02
camlp4 is now a separate package
2015-07-23 19:50:01 +02:00
Tobias Geerinckx-Rice
b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00
aszlig
d68e9b855c
haxe: Add setup-hook and patch to add haxlib path.
Introduces a new environment variable called HAXELIB_PATH and the patch
for haxelib is trying to search that environment variable for other
libraries. If the haxelib path for a particular library isn't found, it
reverts to the normal behaviour of searching the user's home directory
for a file called .haxelib, which in turn points to a repsitory path and
that in turn has .current/.dev files to point it to the right version
number.

This avoids workarounds like this when using Nix to build Haxe projects:

configurePhase = ''
  export HOME="$(pwd)"
  echo "$(pwd)" > .haxelib

  mkdir dependency1
  echo dev > dependency1/.current
  echo "${dependency1}" > dependency1/.dev

  mkdir dependency2
  echo dev > dependency2/.current
  echo "${dependency2}" > dependency2/.dev
'';

Now every haxelib is expected to be in $out/lib/haxe/$name and whenever
it is listed in buildInputs of another Haxe derivation, HAXELIB_PATH
gets automatically set in the build environment.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-03-20 08:39:21 +01:00
Malcolm Matalka
27e2e4132b Add HaXe 3.1.3 2014-06-01 15:15:15 +02:00
aszlig
b59d53cc2d
Revert "haxe: Use ignoreExternals and fix build."
This reverts commit a0716f28af.

Starting with r6706, externals now have a fixed revision, so we no longer need
to ignore them.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

Conflicts:
	pkgs/development/compilers/haxe/default.nix
2013-05-25 19:01:45 +02:00
aszlig
565b5b522f
haxe: Cosmetics - use -f flag on rm.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-05-25 19:01:45 +02:00
aszlig
64128b7297
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 <aszlig@redmoonstudios.org>
2013-05-25 19:01:45 +02:00
aszlig
a0716f28af
haxe: Use ignoreExternals and fix build.
Now, our builds shouldn't break anymore once there is a new change in ocamllibs.

I've used revision 256 from ocamllibs, because this was approximately the
revision we had back then when Haxe 2.10 got released.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-03-27 00:26:55 +01:00
aszlig
c6c7019091
haxe: Remove build files of haxelib/haxedoc early.
Previously, we installed std by omitting the tools directory. Now, there are
occasions where you actually want to use things like tools.haxelib from within
your project, for example to create something that interfaces with the haxelib
API. So we now just remove all files in there that were created during the main
build in postBuild.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-08 02:26:09 +02:00
aszlig
064cf68281
haxe: Rewrite package from scratch, version 2.10.
As well as for neko, we now have way less cruft within the mkDerivation
attribute set. We also now use make to build haxe, which will include haxelib
and haxedoc as well.

The main reason why I was doing this was because the package didn't build and
still was referencing mawercer.de, which does not contain those tarballs
anymore.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-07 11:41:59 +02:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Marc Weber
f3e7f0fdf0 reverting my patch series adding -j -l support for make
svn path=/nixpkgs/branches/stdenv-updates/; revision=22336
2010-06-19 15:52:28 +00:00
Marc Weber
2dafd54743 opt-out some failing phases
svn path=/nixpkgs/branches/stdenv-updates/; revision=22285
2010-06-15 19:00:58 +00:00
Marc Weber
603fd4f206 HaXe and Neko update, C backend does work on NixOS
haxelib install hxcpp; Maybe export HXCPP_M64=1 then take off :)

svn path=/nixpkgs/trunk/; revision=22055
2010-05-29 18:26:45 +00:00
Marc Weber
b8fc0df586 updating HaXe and Neko
svn path=/nixpkgs/trunk/; revision=21150
2010-04-18 22:01:50 +00:00
Marc Weber
19f0cd20fd HaXe: support nekotools boot - add haxelib
svn path=/nixpkgs/trunk/; revision=20674
2010-03-16 23:34:56 +00:00
Marc Weber
5319704f80 removing old bleeding edge cruft replacing it by a niftier version using
source regions which are substituded by the tool nix-repository-manager.
See http://github.com/MarcWeber/nix-repository-manager/raw/master/README.

sourceByName is called sourceFromHead now.

updates: MPlayerTrunk, haxe, neko, netsurf, cinelerra, ctags
cinelerra does no longer build due to Xorg update

svn path=/nixpkgs/trunk/; revision=18894
2009-12-11 13:58:23 +00:00
Marc Weber
c5b2c2c40a adding haxe
svn path=/nixpkgs/trunk/; revision=18708
2009-11-30 01:05:04 +00:00