From 160aeab22d55013e2bc70bae504855261c7cf889 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Sun, 29 May 2016 00:53:56 +0100 Subject: [PATCH] openrw: init at 2016-06-29 Closes #15794 --- pkgs/games/openrw/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/games/openrw/default.nix diff --git a/pkgs/games/openrw/default.nix b/pkgs/games/openrw/default.nix new file mode 100644 index 000000000000..0c235383acff --- /dev/null +++ b/pkgs/games/openrw/default.nix @@ -0,0 +1,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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0eaeb2c99a5d..7e20a8cae894 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15273,6 +15273,8 @@ in openra = callPackage ../games/openra { lua = lua5_1; }; + openrw = callPackage ../games/openrw { }; + openspades = callPackage ../games/openspades {}; openspades-git = lowPrio (callPackage ../games/openspades/git.nix {});