1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/games/soi/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
805 B
Nix

{ stdenv, fetchurl, cmake
, boost, eigen2, lua, luabind, libGLU_combined, 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_combined SDL ];
cmakeFlags = [
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
];
meta = with stdenv.lib; {
description = "A physics-based puzzle game";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.free;
downloadPage = https://sourceforge.net/projects/soi/files/;
};
}