diff options
author | Song Wenwu <iyzsong@gmail.com> | 2013-12-15 14:24:28 +0800 |
---|---|---|
committer | Song Wenwu <iyzsong@gmail.com> | 2013-12-15 14:24:28 +0800 |
commit | 87e572a3d1d2fcac31fe011d0c28414377cc6528 (patch) | |
tree | c812fbf170e1f4b871ebbb1eef0a403d4ed0b9ee /pkgs/development/interpreters | |
parent | 77cefbe76af8a57e56286fba0555c68bffd39c39 (diff) | |
download | nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar.gz nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar.bz2 nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar.lz nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar.xz nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.tar.zst nixlib-87e572a3d1d2fcac31fe011d0c28414377cc6528.zip |
add love-0.9.0 (use luajit by default)
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/love/0.9.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/love/0.9.nix b/pkgs/development/interpreters/love/0.9.nix new file mode 100644 index 000000000000..b635b5e477c6 --- /dev/null +++ b/pkgs/development/interpreters/love/0.9.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, pkgconfig +, SDL2, mesa, openal, luajit +, libdevil, freetype, physfs +, libmodplug, mpg123, libvorbis, libogg +}: + +stdenv.mkDerivation rec { + name = "love-0.9.0"; + src = fetchurl { + url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz"; + sha256 = "048n94584cnmdaf2rshakdzbj1lz2yd7k08aiykkpz13aaa283ag"; + }; + + 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"; + license = "zlib"; + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.raskin ]; + }; +} |