My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/interpreters/hashlink/default.nix

53 lines
844 B

{ stdenv
, lib
, fetchFromGitHub
, libGL
, libGLU
, libpng
, libjpeg_turbo
, libuv
, libvorbis
, mbedtls
, openal
, pcre
, SDL2
, sqlite
}:
stdenv.mkDerivation rec {
pname = "hashlink";
version = "1.12";
src = fetchFromGitHub {
owner = "HaxeFoundation";
repo = "hashlink";
rev = version;
sha256 = "AiUGhTxz4Pkrks4oE+SAuAQPMuC5T2B6jo3Jd3sNrkQ=";
};
patches = [ ./hashlink.patch ];
makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [
libGL
libGLU
libjpeg_turbo
libpng
libuv
libvorbis
mbedtls
openal
pcre
SDL2
sqlite
];
meta = with lib; {
description = "A virtual machine for Haxe";
homepage = "https://hashlink.haxe.org/";
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ iblech locallycompact ];
};
}