diff options
author | marius851000 <mariusdavid@laposte.net> | 2019-05-16 12:20:18 +0200 |
---|---|---|
committer | marius851000 <mariusdavid@laposte.net> | 2019-05-16 12:20:18 +0200 |
commit | 9e2a22ae87390065cd59a46ecb4f4a02e140c5e1 (patch) | |
tree | c3f673b4bcbbb6a7b314748a531a9ee2a1b4935a /pkgs/games/pioneer | |
parent | e85525245c89b5440b62ac667b8dd76c464c16e5 (diff) | |
download | nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar.gz nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar.bz2 nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar.lz nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar.xz nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.tar.zst nixpkgs-9e2a22ae87390065cd59a46ecb4f4a02e140c5e1.zip |
pioneer: update to 20190203
Diffstat (limited to 'pkgs/games/pioneer')
-rw-r--r-- | pkgs/games/pioneer/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/games/pioneer/default.nix b/pkgs/games/pioneer/default.nix index ffe0841184b..b6035918af7 100644 --- a/pkgs/games/pioneer/default.nix +++ b/pkgs/games/pioneer/default.nix @@ -1,33 +1,30 @@ -{ fetchFromGitHub, stdenv, autoconf, automake, pkgconfig -, curl, libsigcxx, SDL2, SDL2_image, freetype, libvorbis, libpng, assimp, libGLU_combined +{ fetchFromGitHub, stdenv, cmake, pkgconfig, curl, libsigcxx, SDL2 +, SDL2_image, freetype, libvorbis, libpng, assimp, libGLU_combined +, glew }: stdenv.mkDerivation rec { - name = "pioneer-${version}"; - version = "20180203"; + pname = "pioneer"; + version = "20190203"; src = fetchFromGitHub{ owner = "pioneerspacesim"; repo = "pioneer"; 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 ]; - - NIX_CFLAGS_COMPILE = [ - "-I${SDL2}/include/SDL2" + buildInputs = [ + curl libsigcxx SDL2 SDL2_image freetype libvorbis libpng + assimp libGLU_combined glew ]; preConfigure = '' - export PIONEER_DATA_DIR="$out/share/pioneer/data"; - ./bootstrap + export PIONEER_DATA_DIR="$out/share/pioneer/data"; ''; - enableParallelBuilding = true; - meta = with stdenv.lib; { description = "A space adventure game set in the Milky Way galaxy at the turn of the 31st century"; homepage = https://pioneerspacesim.net; |