2016-01-05 02:38:20 +00:00
|
|
|
{ stdenv, fetchurl, cmake
|
2019-11-10 16:44:34 +00:00
|
|
|
, boost, eigen2, lua, luabind, libGLU, libGL, SDL }:
|
2011-01-28 08:13:52 +00:00
|
|
|
|
2015-07-14 10:19:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "soi";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "0.1.2";
|
2016-01-05 02:38:20 +00:00
|
|
|
|
2015-07-14 10:19:56 +01:00
|
|
|
src = fetchurl {
|
2016-01-05 02:38:20 +00:00
|
|
|
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
|
2019-08-15 13:41:18 +01:00
|
|
|
name = "${pname}-${version}.tar.bz2";
|
2016-01-05 02:38:20 +00:00
|
|
|
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
|
2015-07-14 10:19:56 +01:00
|
|
|
};
|
2011-01-28 08:13:52 +00:00
|
|
|
|
2016-01-05 02:38:20 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ boost lua luabind libGLU libGL 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 10:19:56 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-28 08:13:52 +00:00
|
|
|
description = "A physics-based puzzle game";
|
2018-01-16 21:59:13 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2015-07-14 10:19:56 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.free;
|
2020-04-01 02:11:51 +01:00
|
|
|
downloadPage = "https://sourceforge.net/projects/soi/files/";
|
2011-01-28 08:13:52 +00:00
|
|
|
};
|
2015-07-14 10:19:56 +01:00
|
|
|
}
|