18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
23 owner = "HaxeFoundation";
26 sha256 = "AiUGhTxz4Pkrks4oE+SAuAQPMuC5T2B6jo3Jd3sNrkQ=";
29 patches = [ ./hashlink.patch ];
31 makeFlags = [ "PREFIX=$(out)" ];
47 nativeBuildInputs = [ getconf ];
49 postFixup = lib.optionalString stdenv.isDarwin ''
50 install_name_tool -change libhl.dylib $out/lib/libhl.dylib $out/bin/hl
54 description = "A virtual machine for Haxe";
55 homepage = "https://hashlink.haxe.org/";
56 license = licenses.mit;
57 platforms = [ "x86_64-linux" "x86_64-darwin" ];
58 maintainers = with maintainers; [ iblech locallycompact logo ];