mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
ffedc3e4a9
Unfortunately I don't have the time anymore to maintain those packages.
31 lines
952 B
Nix
31 lines
952 B
Nix
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
|
, libjpeg, libXxf86vm, libGLU_combined, openal, libvorbis, xlibsWrapper, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "voxelands-${version}";
|
|
version = "1512.00";
|
|
|
|
src = fetchurl {
|
|
url = "http://voxelands.com/downloads/${name}-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_combined 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; [ c0dehero ];
|
|
};
|
|
}
|