1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/games/openrw/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

2019-11-10 16:44:34 +00:00
{ stdenv, fetchgit, cmake, sfml, libGLU, libGL, bullet, glm, libmad, xlibsWrapper, openal
, SDL2, boost, ffmpeg, Cocoa, OpenAL }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-10-26 18:40:53 +01:00
version = "2019-10-26";
pname = "openrw";
src = fetchgit {
url = "https://github.com/rwengine/openrw";
2019-10-26 18:40:53 +01:00
rev = "51b7264744d1aaa20de3b86a7a4e92a9930881ba";
sha256 = "04s088wfxkfmb4dxdvad611yxj8smxlnxdm5xy81zldfzybvx8dg";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [
2019-11-10 16:44:34 +00:00
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg
] ++ stdenv.lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
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;
};
}