git.iko.soy/typeable/nixpkgs
on master help sign in
pioneer: 20160116 -> 20171001
commit25dbba0bf24a383c51c2006acbebf6c25c866749 authorOrivej Desh <orivej@gmx.fr> dateSun 17 Dec 2017, 03:43 (9 years ago) parentaed5b16
1 file changed+12−15
pkgs/games/pioneer/default.nix+12−15
pkgs/games/pioneer/default.nix+12−15
@@ -1,38 +1,35 @@
1−{ fetchFromGitHub, stdenv, automake, curl, libsigcxx, SDL2
2−, SDL2_image, freetype, libvorbis, libpng, assimp, mesa
3−, autoconf, pkgconfig }:
4−
5−let
6− version = "20160116";
7− checksum = "07w5yin2xhb0fdlj1aipi64yx6vnr1siahsy0bxvzi06d73ffj6r";
8−in
1+{ fetchFromGitHub, stdenv, autoconf, automake, pkgconfig
2+, curl, libsigcxx, SDL2, SDL2_image, freetype, libvorbis, libpng, assimp, mesa
3+}:
4+
95stdenv.mkDerivation rec {
106 name = "pioneer-${version}";
7+ version = "20171001";
118
129 src = fetchFromGitHub{
1310 owner = "pioneerspacesim";
1411 repo = "pioneer";
1512 rev = version;
16− sha256 = checksum;
13+ sha256 = "0yxw1zdvidrwc28vxfi3qpx2nq2dix2d6ylwgzq9ph8kgwv9fl5n";
1714 };
1815
19− buildInputs = [
20− automake curl libsigcxx SDL2 SDL2_image freetype libvorbis
21− libpng assimp mesa autoconf pkgconfig
22− ];
16+ nativeBuildInputs = [ autoconf automake pkgconfig ];
17+
18+ buildInputs = [ curl libsigcxx SDL2 SDL2_image freetype libvorbis libpng assimp mesa ];
2319
2420 NIX_CFLAGS_COMPILE = [
2521 "-I${SDL2}/include/SDL2"
2622 ];
2723
28−
2924 preConfigure = ''
3025 export PIONEER_DATA_DIR="$out/share/pioneer/data";
3126 ./bootstrap
3227 '';
3328
29+ enableParallelBuilding = true;
30+
3431 meta = with stdenv.lib; {
35− description = "Pioneer is a space adventure game set in the Milky Way galaxy at the turn of the 31st century";
32+ description = "A space adventure game set in the Milky Way galaxy at the turn of the 31st century";
3633 homepage = https://pioneerspacesim.net;
3734 license = with licenses; [
3835 gpl3 cc-by-sa-30