love_11: init at 11.1
This commit is contained in:
parent
810976e591
commit
ec198337c4
41
pkgs/development/interpreters/love/11.1.nix
Normal file
41
pkgs/development/interpreters/love/11.1.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU_combined, openal, luajit,
|
||||
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
|
||||
libtheora, which, autoconf, automake, libtool
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "love";
|
||||
version = "11.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
src = fetchFromBitbucket {
|
||||
owner = "rude";
|
||||
repo = "love";
|
||||
rev = "${version}";
|
||||
sha256 = "16jn6klbsz8qi2wn3llbr7ri5arlc0b19la19ypzk6p7v20z4sfr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL2 libGLU_combined openal luajit libdevil freetype physfs libmodplug mpg123
|
||||
libvorbis libogg libtheora autoconf which libtool automake
|
||||
];
|
||||
|
||||
preConfigure = "$shell ./platform/unix/automagic";
|
||||
|
||||
configureFlags = [
|
||||
"--with-lua=luajit"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-DluaL_reg=luaL_Reg" ]; # needed since luajit-2.1.0-beta3
|
||||
|
||||
meta = {
|
||||
homepage = http://love2d.org;
|
||||
description = "A Lua-based 2D game engine/scripting language";
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
};
|
||||
}
|
@ -7115,6 +7115,7 @@ with pkgs;
|
||||
love_0_8 = callPackage ../development/interpreters/love/0.8.nix { lua=lua5_1; };
|
||||
love_0_9 = callPackage ../development/interpreters/love/0.9.nix { };
|
||||
love_0_10 = callPackage ../development/interpreters/love/0.10.nix { };
|
||||
love_11 = callPackage ../development/interpreters/love/11.1.nix { };
|
||||
love = love_0_10;
|
||||
|
||||
### LUA MODULES
|
||||
|
Loading…
Reference in New Issue
Block a user