@@ -1,36 +0,0 @@
1−{ lib, stdenv, fetchurl, pkg-config
2−, SDL2, libGLU, libGL, openal, luajit
3−, libdevil, freetype, physfs
4−, libmodplug, mpg123, libvorbis, libogg
5−}:
6−
7−stdenv.mkDerivation rec {
8− pname = "love";
9− version = "0.9.2";
10−
11− src = fetchurl {
12− url = "https://github.com/love2d/love/releases/download/${version}/love-${version}-linux-src.tar.gz";
13− sha256 = "0wn1npr5gal5b1idh4a5fwc3f5c36lsbjd4r4d699rqlviid15d9";
14− };
15−
16− nativeBuildInputs = [ pkg-config ];
17− buildInputs = [
18− SDL2 libGLU libGL openal luajit
19− libdevil freetype physfs libmodplug mpg123 libvorbis libogg
20− ];
21−
22− configureFlags = [
23− "--with-lua=luajit"
24− ];
25−
26− NIX_CFLAGS_COMPILE = [ "-DluaL_reg=luaL_Reg" ]; # needed since luajit-2.1.0-beta3
27−
28− meta = {
29− homepage = "https://love2d.org";
30− description = "A Lua-based 2D game engine/scripting language";
31− license = lib.licenses.zlib;
32− platforms = lib.platforms.linux;
33− maintainers = [ lib.maintainers.raskin ];
34− broken = true;
35− };
36−}