2015-05-17 03:36:38 +00:00
|
|
|
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
2015-09-15 09:13:22 +00:00
|
|
|
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, pkgconfig }:
|
2015-05-17 03:36:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "voxelands-${version}";
|
2015-06-28 16:23:07 +00:00
|
|
|
version = "1506.00";
|
2015-05-17 03:36:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://voxelands.com/downloads/${name}-src.tar.bz2";
|
2015-06-28 16:23:07 +00:00
|
|
|
sha256 = "0j82zidxv2rzx7fmw5z27nfldqkixbrs1f6l3fs433xr3d05406y";
|
2015-05-17 03:36:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DIRRLICHT_INCLUDE_DIR=${irrlicht}/include/irrlicht"
|
|
|
|
"-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG"
|
|
|
|
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake irrlicht libpng bzip2 libjpeg sqlite
|
2015-09-15 09:13:22 +00:00
|
|
|
libXxf86vm mesa openal libvorbis xlibsWrapper pkgconfig
|
2015-05-17 03:36:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://voxelands.com/;
|
|
|
|
description = "Infinite-world block sandbox game based on Minetest";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2015-05-17 20:47:36 +00:00
|
|
|
maintainers = with maintainers; [ jgeerds c0dehero ];
|
2015-05-17 03:36:38 +00:00
|
|
|
};
|
|
|
|
}
|