3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/voxelands/default.nix

32 lines
945 B
Nix
Raw Normal View History

2015-05-17 04:36:38 +01:00
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
, libjpeg, libXxf86vm, libGLU_combined, openal, libvorbis, xlibsWrapper, pkgconfig }:
2015-05-17 04:36:38 +01:00
stdenv.mkDerivation rec {
pname = "voxelands";
version = "1512.00";
2015-05-17 04:36:38 +01:00
src = fetchurl {
url = "http://voxelands.com/downloads/${pname}-${version}-src.tar.bz2";
sha256 = "0bims0y0nyviv2f2nxfj37s3258cjbfp9xd97najz0yylnk3qdfw";
2015-05-17 04:36:38 +01: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
libXxf86vm libGLU_combined openal libvorbis xlibsWrapper pkgconfig
2015-05-17 04:36:38 +01:00
];
meta = with stdenv.lib; {
homepage = http://voxelands.com/;
description = "Infinite-world block sandbox game based on Minetest";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2015-05-17 04:36:38 +01:00
};
}