2015-07-14 11:19:56 +02:00
|
|
|
{ stdenv, fetchurl, mesa, SDL, cmake, eigen }:
|
2011-01-28 09:13:52 +01:00
|
|
|
|
2015-07-14 11:19:56 +02:00
|
|
|
let
|
|
|
|
baseName = "soi";
|
|
|
|
majorVersion = "0.1";
|
|
|
|
minorVersion = "1";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
name = "${baseName}-${version}";
|
2011-01-28 09:13:52 +01:00
|
|
|
in
|
|
|
|
|
2015-07-14 11:19:56 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-11-25 10:58:10 +01:00
|
|
|
inherit name;
|
2015-07-14 11:19:56 +02:00
|
|
|
src = fetchurl {
|
2015-11-25 10:58:10 +01:00
|
|
|
url = "mirror://sourceforge/project/${baseName}/${baseName}-${majorVersion}/Spheres%20of%20Influence-${version}-Source.tar.gz";
|
|
|
|
inherit name;
|
2015-07-14 11:19:56 +02:00
|
|
|
sha256 = "dfc59319d2962033709bb751c71728417888addc6c32cbec3da9679087732a81";
|
|
|
|
};
|
2011-01-28 09:13:52 +01:00
|
|
|
|
2015-07-14 11:19:56 +02:00
|
|
|
buildInputs = [ mesa SDL cmake eigen ];
|
2011-01-28 09:13:52 +01:00
|
|
|
|
2015-07-14 11:19:56 +02:00
|
|
|
preConfigure = ''export EIGENDIR=${eigen}/include/eigen2'';
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2015-07-14 11:19:56 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-28 09:13:52 +01:00
|
|
|
description = "A physics-based puzzle game";
|
2015-11-25 10:58:10 +01:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2015-07-14 11:19:56 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.free;
|
2013-11-04 21:07:57 +01:00
|
|
|
broken = true;
|
2015-11-25 10:58:10 +01:00
|
|
|
downloadPage = "http://sourceforge.net/projects/soi/files/";
|
2011-01-28 09:13:52 +01:00
|
|
|
};
|
2015-07-14 11:19:56 +02:00
|
|
|
}
|