pioneer: update to 20190203

This commit is contained in:
marius851000 2019-05-16 12:20:18 +02:00
parent e85525245c
commit 9e2a22ae87
1 changed files with 11 additions and 14 deletions

View File

@ -1,33 +1,30 @@
{ fetchFromGitHub, stdenv, autoconf, automake, pkgconfig { fetchFromGitHub, stdenv, cmake, pkgconfig, curl, libsigcxx, SDL2
, curl, libsigcxx, SDL2, SDL2_image, freetype, libvorbis, libpng, assimp, libGLU_combined , SDL2_image, freetype, libvorbis, libpng, assimp, libGLU_combined
, glew
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pioneer-${version}"; pname = "pioneer";
version = "20180203"; version = "20190203";
src = fetchFromGitHub{ src = fetchFromGitHub{
owner = "pioneerspacesim"; owner = "pioneerspacesim";
repo = "pioneer"; repo = "pioneer";
rev = version; rev = version;
sha256 = "0hp2mf36kj2v93hka8m8lxw2qhmnjc62wjlpw7c7ix0r8xa01i6h"; sha256 = "1g34wvgyvz793dhm1k64kl82ib0cavkbg0f2p3fp05b457ycljff";
}; };
nativeBuildInputs = [ autoconf automake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ curl libsigcxx SDL2 SDL2_image freetype libvorbis libpng assimp libGLU_combined ]; buildInputs = [
curl libsigcxx SDL2 SDL2_image freetype libvorbis libpng
NIX_CFLAGS_COMPILE = [ assimp libGLU_combined glew
"-I${SDL2}/include/SDL2"
]; ];
preConfigure = '' preConfigure = ''
export PIONEER_DATA_DIR="$out/share/pioneer/data"; export PIONEER_DATA_DIR="$out/share/pioneer/data";
./bootstrap
''; '';
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A space adventure game set in the Milky Way galaxy at the turn of the 31st century"; description = "A space adventure game set in the Milky Way galaxy at the turn of the 31st century";
homepage = https://pioneerspacesim.net; homepage = https://pioneerspacesim.net;