1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/games/soi/default.nix

35 lines
919 B
Nix
Raw Normal View History

2015-07-14 10:19:56 +01:00
{ stdenv, fetchurl, mesa, SDL, cmake, eigen }:
2015-07-14 10:19:56 +01:00
let
baseName = "soi";
fileName = "Spheres%20of%20Influence";
majorVersion = "0.1";
minorVersion = "1";
version = "${majorVersion}.${minorVersion}";
name = "${baseName}-${version}";
project = "${baseName}";
in
2015-07-14 10:19:56 +01:00
stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/project/${project}/${baseName}-${majorVersion}/${fileName}-${version}-Source.tar.gz";
sha256 = "dfc59319d2962033709bb751c71728417888addc6c32cbec3da9679087732a81";
};
2015-07-14 10:19:56 +01:00
buildInputs = [ mesa SDL cmake eigen ];
2015-07-14 10:19:56 +01:00
preConfigure = ''export EIGENDIR=${eigen}/include/eigen2'';
2015-07-14 10:19:56 +01:00
meta = with stdenv.lib; {
description = "A physics-based puzzle game";
2015-07-14 10:19:56 +01:00
maintainers = with maintainers;
[
raskin
];
2015-07-14 10:19:56 +01:00
platforms = platforms.linux;
license = licenses.free;
2013-11-04 20:07:57 +00:00
broken = true;
2015-07-14 10:19:56 +01:00
downloadPage = "http://sourceforge.net/projects/soi/files/";
};
2015-07-14 10:19:56 +01:00
}