Created
March 21, 2021 16:43
-
-
Save insideone/d3d7dd9bf072aa5203158f00f6c8d3c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Haxe HashLink 1.11 | |
{ | |
stdenv, libpng, libvorbis, openal, neko, | |
SDL2, mbedtls, libuv, libjpeg, libGLU, | |
autoPatchelfHook | |
}: | |
stdenv.mkDerivation rec { | |
name = "hl-${version}"; | |
system = "x86_64-linux"; | |
version = "1.11"; | |
src = builtins.fetchTarball { | |
url = "https://github.com/HaxeFoundation/hashlink/archive/refs/tags/${version}.tar.gz"; | |
sha256 = "1bgx8pr062xsy81ygbakm3v033d68dqqx0dgfs0dczdqy8q0039k"; | |
}; | |
nativeBuildInputs = [ autoPatchelfHook ]; | |
unpackPhase = false; | |
buildInputs = [ libpng libjpeg libvorbis openal SDL2 mbedtls libuv neko libGLU ]; | |
buildPhase = '' | |
make all | |
''; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp -av ./* $out/bin | |
''; | |
meta = with stdenv.lib; { | |
description = "HashLink 1.11"; | |
homepage = https://hashlink.haxe.org/; | |
license = licenses.mit; | |
maintainers = with stdenv.lib.maintainers; [ ]; | |
platforms = [ "x86_64-linux" ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment