commit
7c477195aa
38
pkgs/development/interpreters/love/0.10.nix
Normal file
38
pkgs/development/interpreters/love/0.10.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, mesa, openal, luajit,
|
||||||
|
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
|
||||||
|
libtheora, which, autoconf, automake, libtool
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "love";
|
||||||
|
version = "0.10.1";
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
src = fetchFromBitbucket {
|
||||||
|
owner = "rude";
|
||||||
|
repo = "love";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "10a2kkyx7x9jkcj9xrqgmvp0b6gbapjqjx9fib9f6a0nbz0xaswj";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgconfig SDL2 mesa openal luajit libdevil freetype physfs libmodplug mpg123
|
||||||
|
libvorbis libogg libtheora autoconf which libtool automake
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = "$shell ./platform/unix/automagic";
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-lua=luajit"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://love2d.org";
|
||||||
|
description = "A Lua-based 2D game engine/scripting language";
|
||||||
|
license = stdenv.lib.licenses.zlib;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
|
};
|
||||||
|
}
|
@ -5227,9 +5227,10 @@ let
|
|||||||
|
|
||||||
lolcode = callPackage ../development/interpreters/lolcode { };
|
lolcode = callPackage ../development/interpreters/lolcode { };
|
||||||
|
|
||||||
love = callPackage ../development/interpreters/love {lua=lua5_1;};
|
love_0_8 = callPackage ../development/interpreters/love/0.8.nix { };
|
||||||
love_luajit = callPackage ../development/interpreters/love {lua=luajit;};
|
|
||||||
love_0_9 = callPackage ../development/interpreters/love/0.9.nix { };
|
love_0_9 = callPackage ../development/interpreters/love/0.9.nix { };
|
||||||
|
love_0_10 = callPackage ../development/interpreters/love/0.10.nix { };
|
||||||
|
love = love_0_10;
|
||||||
|
|
||||||
### LUA MODULES
|
### LUA MODULES
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user