openmw: 0.50.0 -> 0.51.0

Co-authored-by: Keenan Weaver <keenanweaver@protonmail.com>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Peter H. Hoeg
2026-06-30 22:21:04 +02:00
committed by Fernando Rodrigues
parent c68fccff48
commit 6a5ce8a412

View File

@@ -3,6 +3,7 @@
stdenv,
fetchFromGitLab,
fetchpatch,
nix-update-script,
SDL2,
boost,
@@ -35,7 +36,7 @@ assert lib.assertOneOf "GLPreference" GLPreference [
];
stdenv.mkDerivation (finalAttrs: {
pname = "openmw";
version = "0.50.0";
version = "0.51.0";
__structuredAttrs = true;
strictDeps = true;
@@ -82,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "OpenMW";
repo = "openmw";
tag = "openmw-${finalAttrs.version}";
hash = "sha256-mPwNyKKqPSZJtcIyx3IhLe3iHOpx6p4+l1wJZqyDMqg=";
hash = "sha256-D+2nEQRkAjmDvRoas9bYPmdygQYT3MAv46n73OonE0o=";
};
postPatch = ''
@@ -133,6 +134,15 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "OPENMW_OSX_DEPLOYMENT" isDarwin)
];
env.LANG = "C.UTF-8";
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"openmw-(.*)"
];
};
meta = {
description = "Unofficial open source engine reimplementation of the game Morrowind";
changelog = "https://gitlab.com/OpenMW/openmw/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";