depot/third_party/nixpkgs/pkgs/games/voxelands/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
942 B
Nix

{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
, libjpeg, libXxf86vm, libGLU, libGL, openal, libvorbis, xlibsWrapper, pkgconfig }:
stdenv.mkDerivation rec {
pname = "voxelands";
version = "1512.00";
src = fetchurl {
url = "http://voxelands.com/downloads/${pname}-${version}-src.tar.bz2";
sha256 = "0bims0y0nyviv2f2nxfj37s3258cjbfp9xd97najz0yylnk3qdfw";
};
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 libGL openal libvorbis xlibsWrapper pkgconfig
];
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; [ ];
};
}