nixpkgs/pkgs/games/soi/default.nix

29 lines
800 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake
2019-11-10 16:44:34 +00:00
, boost, eigen2, lua, luabind, libGLU, libGL, SDL }:
2015-07-14 09:19:56 +00:00
stdenv.mkDerivation rec {
pname = "soi";
version = "0.1.2";
2015-07-14 09:19:56 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
name = "${pname}-${version}.tar.bz2";
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
2015-07-14 09:19:56 +00:00
};
nativeBuildInputs = [ cmake ];
2019-11-10 16:44:34 +00:00
buildInputs = [ boost lua luabind libGLU libGL SDL ];
cmakeFlags = [
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
];
2015-07-14 09:19:56 +00:00
meta = with stdenv.lib; {
description = "A physics-based puzzle game";
maintainers = with maintainers; [ raskin ];
2015-07-14 09:19:56 +00:00
platforms = platforms.linux;
license = licenses.free;
2018-12-01 18:49:28 +00:00
downloadPage = https://sourceforge.net/projects/soi/files/;
};
2015-07-14 09:19:56 +00:00
}