2016-01-05 02:38:20 +00:00
|
|
|
{ stdenv, fetchurl, cmake
|
|
|
|
, boost, eigen2, lua, luabind, mesa, SDL }:
|
2011-01-28 08:13:52 +00:00
|
|
|
|
2015-07-14 09:19:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-01-05 02:38:20 +00:00
|
|
|
name = "soi-${version}";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "0.1.2";
|
2016-01-05 02:38:20 +00:00
|
|
|
|
2015-07-14 09:19:56 +00:00
|
|
|
src = fetchurl {
|
2016-01-05 02:38:20 +00:00
|
|
|
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
|
|
|
|
name = "${name}.tar.bz2";
|
|
|
|
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
|
2015-07-14 09:19:56 +00:00
|
|
|
};
|
2011-01-28 08:13:52 +00:00
|
|
|
|
2016-01-05 02:38:20 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost lua luabind mesa SDL ];
|
2011-01-28 08:13:52 +00:00
|
|
|
|
2016-01-05 02:38:20 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
|
|
|
|
];
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2015-07-14 09:19:56 +00:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-28 08:13:52 +00:00
|
|
|
description = "A physics-based puzzle game";
|
2016-01-05 02:38:20 +00:00
|
|
|
maintainers = with maintainers; [ raskin nckx ];
|
2015-07-14 09:19:56 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.free;
|
2013-11-04 20:07:57 +00:00
|
|
|
broken = true;
|
2016-01-05 02:38:20 +00:00
|
|
|
downloadPage = http://sourceforge.net/projects/soi/files/;
|
2011-01-28 08:13:52 +00:00
|
|
|
};
|
2015-07-14 09:19:56 +00:00
|
|
|
}
|