handheld-daemon-ui: 3.2.3 -> 3.3.0 (#361609)
[NixPkgs.git] / pkgs / games / soi / default.nix
blob67f1b5b211a71ca76296f54ed5776be1f5acd24d
1 { lib, stdenv, fetchurl, cmake
2 , boost, eigen2, lua, luabind, libGLU, libGL, SDL }:
4 stdenv.mkDerivation rec {
5   pname = "soi";
6   version = "0.1.2";
8   src = fetchurl {
9     url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
10     name = "${pname}-${version}.tar.bz2";
11     sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
12   };
14   nativeBuildInputs = [ cmake ];
15   buildInputs = [ boost lua luabind libGLU libGL SDL ];
17   cmakeFlags = [
18     "-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
19     "-DLUABIND_LIBRARY=${luabind}/lib/libluabind09.a"
20   ];
22   meta = with lib; {
23     description = "Physics-based puzzle game";
24     mainProgram = "soi";
25     maintainers = with maintainers; [ raskin ];
26     platforms = platforms.linux;
27     license = licenses.free;
28     downloadPage = "https://sourceforge.net/projects/soi/files/";
29   };