about summary refs log tree commit diff
path: root/pkgs/games/openrw/default.nix
blob: 0c235383acff72c10206e1e085ee2edaa3aced32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchgit, cmake, sfml, mesa, bullet, glm, libmad, x11 }:

stdenv.mkDerivation rec {
  version = "2016-06-29";
  name = "openrw-${version}";
  src = fetchgit {
    url = "https://github.com/rwengine/openrw";
    rev = "46a7254a41d9f6e1eda8d31e742de492abb2540e";
    sha256 = "16ip9779dy59xcj9src2i4zp8jq2h0h5mb4a7d5cpkhd3xlcpabm";
    fetchSubmodules = true;
  };

  buildInputs = [ cmake sfml mesa bullet glm libmad x11 ];

  meta = with stdenv.lib; {
    description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
    homepage = https://github.com/rwengine/openrw;
    license = licenses.gpl3;
    longDescription = ''
      OpenRW is an open source re-implementation of Rockstar Games' Grand Theft
      Auto III, a classic 3D action game first published in 2001.
    '';
    maintainers = with maintainers; [ kragniz ];
    platforms = platforms.all;
  };
}