2015-05-17 03:36:38 +00:00
|
|
|
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
2019-11-10 16:44:34 +00:00
|
|
|
, libjpeg, libXxf86vm, libGLU, libGL, openal, libvorbis, xlibsWrapper, pkgconfig }:
|
2015-05-17 03:36:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "voxelands";
|
2016-02-20 22:27:15 +00:00
|
|
|
version = "1512.00";
|
2015-05-17 03:36:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://voxelands.com/downloads/${pname}-${version}-src.tar.bz2";
|
2016-02-20 22:27:15 +00:00
|
|
|
sha256 = "0bims0y0nyviv2f2nxfj37s3258cjbfp9xd97najz0yylnk3qdfw";
|
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
|
2019-11-10 16:44:34 +00:00
|
|
|
libXxf86vm libGLU libGL openal libvorbis xlibsWrapper pkgconfig
|
2015-05-17 03:36:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://voxelands.com/";
|
2015-05-17 03:36:38 +00:00
|
|
|
description = "Infinite-world block sandbox game based on Minetest";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-06-07 21:51:50 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-05-17 03:36:38 +00:00
|
|
|
};
|
|
|
|
}
|