git.iko.soy/typeable/nixpkgs
on master help sign in
pioneer: nixpkg added
commit2ad985f3edcd181dac7a083939100d08c1e70d04 authorSlawomir Gonet <slawek@otwiera.cz> dateMon 18 Jan 2016, 19:03 (11 years ago) parent11468de
2 files changed+44
pkgs/games/pioneer/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/games/pioneer/default.nixnew file+42
@@ -0,0 +1,42 @@
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
9+stdenv.mkDerivation rec {
10+ name = "pioneer-${version}";
11+
12+ src = fetchFromGitHub{
13+ owner = "pioneerspacesim";
14+ repo = "pioneer";
15+ rev = version;
16+ sha256 = checksum;
17+ };
18+
19+ buildInputs = [
20+ automake curl libsigcxx SDL2 SDL2_image freetype libvorbis
21+ libpng assimp mesa autoconf pkgconfig
22+ ];
23+
24+ NIX_CFLAGS_COMPILE = [
25+ "-I${SDL2}/include/SDL2"
26+ ];
27+
28+
29+ preConfigure = ''
30+ export PIONEER_DATA_DIR="$out/share/pioneer/data";
31+ ./bootstrap
32+ '';
33+
34+ 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.";
36+ homepage = "http://pioneerspacesim.net";
37+ license = with licenses; [
38+ gpl3 cc-by-sa-30
39+ ];
40+ platforms = [ "x86_64-linux" "i686-linux" ];
41+ };
42+}
pkgs/top-level/all-packages.nix+2
@@ -14220,6 +14220,8 @@ let
1422014220
1422114221 pingus = callPackage ../games/pingus {};
1422214222
14223+ pioneer = callPackage ../games/pioneer { };
14224+
1422314225 pioneers = callPackage ../games/pioneers { };
1422414226
1422514227 planetary_annihilation = callPackage ../games/planetaryannihilation { };