2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake
|
2020-04-24 23:36:52 +00:00
|
|
|
, boost, eigen2, lua, luabind, libGLU, libGL, SDL }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "soi";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
|
|
|
|
name = "${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost lua luabind libGLU libGL SDL ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A physics-based puzzle game";
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.free;
|
|
|
|
downloadPage = "https://sourceforge.net/projects/soi/files/";
|
|
|
|
};
|
|
|
|
}
|