2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, cmake, sfml, libGLU, libGL, bullet, glm, libmad, xlibsWrapper, openal
|
2020-06-07 13:39:09 +01:00
|
|
|
, SDL2, boost, ffmpeg_3, Cocoa, OpenAL }:
|
2016-05-29 00:53:56 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-10-26 18:40:53 +01:00
|
|
|
version = "2019-10-26";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "openrw";
|
2017-09-28 17:47:39 +01:00
|
|
|
|
2016-05-29 00:53:56 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/rwengine/openrw";
|
2019-10-26 18:40:53 +01:00
|
|
|
rev = "51b7264744d1aaa20de3b86a7a4e92a9930881ba";
|
|
|
|
sha256 = "04s088wfxkfmb4dxdvad611yxj8smxlnxdm5xy81zldfzybvx8dg";
|
2016-05-29 00:53:56 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2019-10-29 16:59:06 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2017-09-28 17:47:39 +01:00
|
|
|
buildInputs = [
|
2020-06-07 13:39:09 +01:00
|
|
|
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg_3
|
2019-10-29 16:59:06 +00:00
|
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
|
2016-05-29 00:53:56 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-05-29 00:53:56 +01:00
|
|
|
description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rwengine/openrw";
|
2016-05-29 00:53:56 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|