nixpkgs/pkgs/development/interpreters/love/0.9.nix

38 lines
950 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config
2019-11-10 17:44:34 +01:00
, SDL2, libGLU, libGL, openal, luajit
2013-12-15 07:24:28 +01:00
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
}:
stdenv.mkDerivation rec {
pname = "love";
version = "0.9.1";
2013-12-15 07:24:28 +01:00
src = fetchurl {
url = "https://bitbucket.org/rude/love/downloads/love-${version}-linux-src.tar.gz";
sha256 = "1pikd0bzb44r4bf0jbgn78whz1yswpq1n5jc8nf87v42pm30kp84";
2013-12-15 07:24:28 +01:00
};
nativeBuildInputs = [ pkg-config ];
2013-12-15 07:24:28 +01:00
buildInputs = [
2019-11-10 17:44:34 +01:00
SDL2 libGLU libGL openal luajit
2013-12-15 07:24:28 +01:00
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
];
configureFlags = [
"--with-lua=luajit"
];
NIX_CFLAGS_COMPILE = [ "-DluaL_reg=luaL_Reg" ]; # needed since luajit-2.1.0-beta3
2013-12-15 07:24:28 +01:00
meta = {
homepage = "http://love2d.org";
2013-12-15 07:24:28 +01:00
description = "A Lua-based 2D game engine/scripting language";
license = lib.licenses.zlib;
2013-12-15 07:24:28 +01:00
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.raskin ];
broken = true;
2013-12-15 07:24:28 +01:00
};
}