1 { lib, stdenv, fetchurl, pkg-config
2 , SDL2, libGLU, libGL, openal, luajit
3 , libdevil, freetype, physfs
4 , libmodplug, mpg123, libvorbis, libogg
7 stdenv.mkDerivation rec {
10 url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz";
11 sha256 = "1pikd0bzb44r4bf0jbgn78whz1yswpq1n5jc8nf87v42pm30kp84";
14 nativeBuildInputs = [ pkg-config ];
16 SDL2 libGLU libGL openal luajit
17 libdevil freetype physfs libmodplug mpg123 libvorbis libogg
24 NIX_CFLAGS_COMPILE = [ "-DluaL_reg=luaL_Reg" ]; # needed since luajit-2.1.0-beta3
27 homepage = "http://love2d.org";
28 description = "A Lua-based 2D game engine/scripting language";
29 license = lib.licenses.zlib;
31 platforms = lib.platforms.linux;
32 maintainers = [ lib.maintainers.raskin ];