openxray: 2088-august-2023-rc1 -> 2188-november-2023-rc1, add passthru.updateScript

This commit is contained in:
OPNA2608 2023-11-03 18:39:23 +01:00 committed by OPNA2608
parent 60c8b2e233
commit f853628ae5

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, gitUpdater
, cmake
, glew
, freeimage
@ -17,14 +18,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "openxray";
version = "2088-august-2023-rc1";
version = "2188-november-2023-rc1";
src = fetchFromGitHub {
owner = "OpenXRay";
repo = "xray-16";
rev = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-f9EheVp05BAjjk3FIJjHVfm0piYiMYZJ9U156g2vhac=";
hash = "sha256-rRxw/uThACmT2qI8NUwJU+WbJ3BWUss6CH13R5aaHco=";
};
strictDeps = true;
@ -65,6 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
wrapProgram $out/bin/xr_3da ${toString finalAttrs.makeWrapperArgs}
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
mainProgram = "xr_3da";
description = "Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World";