Merge pull request #141997 from flexagoon/openrw-update

openrw: 2018-10-26 -> 2021-10-14
This commit is contained in:
Thiago Kenji Okada 2021-11-13 21:47:29 -03:00 committed by GitHub
commit 7d83f50e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,37 @@
{ lib, stdenv, fetchgit, cmake, sfml, libGLU, libGL, bullet, glm, libmad, xlibsWrapper, openal
, SDL2, boost, ffmpeg_3, Cocoa, OpenAL }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, sfml
, libGLU
, libGL
, bullet
, glm
, libmad
, xlibsWrapper
, openal
, SDL2
, boost
, ffmpeg
, Cocoa
, OpenAL }:
stdenv.mkDerivation {
version = "2019-10-26";
version = "unstable-2021-10-14";
pname = "openrw";
src = fetchgit {
url = "https://github.com/rwengine/openrw";
rev = "51b7264744d1aaa20de3b86a7a4e92a9930881ba";
sha256 = "04s088wfxkfmb4dxdvad611yxj8smxlnxdm5xy81zldfzybvx8dg";
src = fetchFromGitHub {
owner = "rwengine";
repo = "openrw";
rev = "0f83c16f6518c427a4f156497c3edc843610c402";
sha256 = "0i6nx9g0xb8sziak5swi8636fszcjjx8n2jwgz570izw2fl698ff";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg_3
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg
] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
meta = with lib; {