2018-02-24 14:12:44 +01:00
|
|
|
{ stdenv, fetchgit, cmake, sfml, libGLU_combined, bullet, glm, libmad, x11, openal
|
2017-09-28 18:47:39 +02:00
|
|
|
, SDL2, boost, ffmpeg }:
|
2016-05-29 01:53:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-28 18:47:39 +02:00
|
|
|
version = "2017-09-17";
|
2016-05-29 01:53:56 +02:00
|
|
|
name = "openrw-${version}";
|
2017-09-28 18:47:39 +02:00
|
|
|
|
2016-05-29 01:53:56 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/rwengine/openrw";
|
2017-09-28 18:47:39 +02:00
|
|
|
rev = "11e90c61e56b60240251cd080f175ddff7d7a101";
|
|
|
|
sha256 = "16qklk9yc4ssxxkicxvww4gmg1c7cm6vhyilyv287vhz1fq9sz49";
|
2016-05-29 01:53:56 +02:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2017-09-28 18:47:39 +02:00
|
|
|
buildInputs = [
|
2018-02-24 14:12:44 +01:00
|
|
|
cmake sfml libGLU_combined bullet glm libmad x11 openal SDL2 boost ffmpeg
|
2017-09-28 18:47:39 +02:00
|
|
|
];
|
2016-05-29 01:53:56 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|