2013-12-15 06:24:28 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
|
|
|
, SDL2, mesa, openal, luajit
|
|
|
|
, libdevil, freetype, physfs
|
|
|
|
, libmodplug, mpg123, libvorbis, libogg
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-26 04:53:56 +00:00
|
|
|
name = "love-0.9.1";
|
2013-12-15 06:24:28 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz";
|
2014-04-26 04:53:56 +00:00
|
|
|
sha256 = "1pikd0bzb44r4bf0jbgn78whz1yswpq1n5jc8nf87v42pm30kp84";
|
2013-12-15 06:24:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig SDL2 mesa openal luajit
|
|
|
|
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-lua=luajit"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://love2d.org";
|
|
|
|
description = "A Lua-based 2D game engine/scripting language";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2013-12-15 06:24:28 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
};
|
|
|
|
}
|