mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
9fb8020e4e
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
30 lines
804 B
Nix
30 lines
804 B
Nix
{ stdenv, fetchurl, cmake
|
|
, boost, eigen2, lua, luabind, mesa, SDL }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "soi-${version}";
|
|
version = "0.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
|
|
name = "${name}.tar.bz2";
|
|
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ boost lua luabind mesa SDL ];
|
|
|
|
cmakeFlags = [
|
|
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A physics-based puzzle game";
|
|
maintainers = with maintainers; [ raskin nckx ];
|
|
platforms = platforms.linux;
|
|
license = licenses.free;
|
|
broken = true;
|
|
downloadPage = http://sourceforge.net/projects/soi/files/;
|
|
};
|
|
}
|