mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
voxelands: added 1504.01
This commit is contained in:
parent
592e411c49
commit
3a966376bf
31
pkgs/games/voxelands/default.nix
Normal file
31
pkgs/games/voxelands/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
||||
, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "voxelands-${version}";
|
||||
version = "1504.01";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://voxelands.com/downloads/${name}-src.tar.bz2";
|
||||
sha256 = "17jv2pz0mbkkf7jw3jcpix8hb46b382hc7vki42n9rrdynydq5zp";
|
||||
};
|
||||
|
||||
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 mesa openal libvorbis x11 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; [ jgeerds ];
|
||||
};
|
||||
}
|
@ -13273,6 +13273,10 @@ let
|
||||
|
||||
vessel = callPackage_i686 ../games/vessel { };
|
||||
|
||||
voxelands = callPackage ../games/voxelands {
|
||||
libpng = libpng12;
|
||||
};
|
||||
|
||||
warmux = callPackage ../games/warmux { };
|
||||
|
||||
warsow = callPackage ../games/warsow {
|
||||
|
Loading…
Reference in New Issue
Block a user