git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32587 from tristan0x/assimp4

assimp: 3.3.1 -> 4.1.0

commit0fdb4473f6bb26b9019146c191814f8b488217ee authorOrivej Desh <orivej@gmx.fr> dateSun 17 Dec 2017, 13:40 (9 years ago) parentf1b4fe325dbba0
2 files changed+14−17
pkgs/development/libraries/assimp/default.nix+2−2 pkgs/games/pioneer/default.nix+12−15
pkgs/development/libraries/assimp/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "assimp-${version}";
5− version = "3.3.1";
5+ version = "4.1.0";
66
77 src = fetchFromGitHub{
88 owner = "assimp";
99 repo = "assimp";
1010 rev = "v${version}";
11− sha256 = "13y44fymj13h6alig0nqab91j2qch0yh9gq8yql2zz744ch2s5vc";
11+ sha256 = "00g61g3ixmfszzjncpvm8x7gp2livaj4lmhbycjmrw4x3gfqlc4r";
1212 };
1313
1414 buildInputs = [ cmake boost zlib ];
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