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

39 lines
994 B
Nix
Raw Normal View History

2016-02-14 22:14:00 +01:00
{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, mesa, openal, luajit,
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
libtheora, which, autoconf, automake, libtool
}:
let
pname = "love";
2017-02-13 12:49:08 +01:00
version = "0.10.2";
2016-02-14 22:14:00 +01:00
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchFromBitbucket {
owner = "rude";
repo = "love";
rev = "${version}";
2017-02-13 12:49:08 +01:00
sha256 = "19yfmlcx6w8yi4ndm5lni8lrsvnn77bxw5py0dc293nzzlaqa9ym";
2016-02-14 22:14:00 +01:00
};
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 ];
};
}