git.iko.soy/typeable/nixpkgs
on master help sign in
soi: 0.1.1 -> 0.1.2

Now builds, but still mark as broken because it quickly segfaults at run time.

commit24100ec0c3474189291a8ea6c2226aeca2be811c authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateTue 5 Jan 2016, 03:38 (11 years ago) parentad200bb
2 files changed+18−18
pkgs/games/soi/default.nix+15−17 pkgs/top-level/all-packages.nix+3−1
pkgs/games/soi/default.nix+15−17
@@ -1,31 +1,29 @@
1−{ stdenv, fetchurl, mesa, SDL, cmake, eigen }:
2−
3−let
4− baseName = "soi";
5− majorVersion = "0.1";
6− minorVersion = "1";
7− version = "${majorVersion}.${minorVersion}";
8− name = "${baseName}-${version}";
9−in
1+{ stdenv, fetchurl, cmake
2+, boost, eigen2, lua, luabind, mesa, SDL }:
103
4+let version = "0.1.2"; in
115stdenv.mkDerivation rec {
12− inherit name;
6+ name = "soi-${version}";
7+
138 src = fetchurl {
14− url = "mirror://sourceforge/project/${baseName}/${baseName}-${majorVersion}/Spheres%20of%20Influence-${version}-Source.tar.gz";
15− inherit name;
16− sha256 = "dfc59319d2962033709bb751c71728417888addc6c32cbec3da9679087732a81";
9+ url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
10+ name = "${name}.tar.bz2";
11+ sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
1712 };
1813
19− buildInputs = [ mesa SDL cmake eigen ];
14+ nativeBuildInputs = [ cmake ];
15+ buildInputs = [ boost lua luabind mesa SDL ];
2016
21− preConfigure = ''export EIGENDIR=${eigen}/include/eigen2'';
17+ cmakeFlags = [
18+ "-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
19+ ];
2220
2321 meta = with stdenv.lib; {
2422 description = "A physics-based puzzle game";
25− maintainers = with maintainers; [ raskin ];
23+ maintainers = with maintainers; [ raskin nckx ];
2624 platforms = platforms.linux;
2725 license = licenses.free;
2826 broken = true;
29− downloadPage = "http://sourceforge.net/projects/soi/files/";
27+ downloadPage = http://sourceforge.net/projects/soi/files/;
3028 };
3129}
pkgs/top-level/all-packages.nix+3−1
@@ -14313,7 +14313,9 @@ let
1431314313
1431414314 snake4 = callPackage ../games/snake4 { };
1431514315
14316− soi = callPackage ../games/soi {};
14316+ soi = callPackage ../games/soi {
14317+ lua = lua5_1;
14318+ };
1431714319
1431814320 # You still can override by passing more arguments.
1431914321 spaceOrbit = callPackage ../games/orbit { };