nixpkgs/pkgs/games/openrw/default.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-17 16:01:48 +02:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, sfml
, libGLU
, libGL
, bullet
, glm
, libmad
, xlibsWrapper
, openal
, SDL2
, boost
, ffmpeg
, Cocoa
, OpenAL }:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
2021-10-17 16:01:48 +02:00
version = "unstable-2021-10-14";
pname = "openrw";
2021-10-17 16:01:48 +02:00
src = fetchFromGitHub {
owner = "rwengine";
repo = "openrw";
rev = "0f83c16f6518c427a4f156497c3edc843610c402";
sha256 = "0i6nx9g0xb8sziak5swi8636fszcjjx8n2jwgz570izw2fl698ff";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [
2021-10-17 16:01:48 +02:00
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg
2021-01-15 05:31:39 +01:00
] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
meta = with 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;
};
}