etlegacy-unwrapped: add versionCheckHook

This commit is contained in:
Pol Dellaiera
2026-06-01 21:36:16 +02:00
parent 268daa4750
commit 2010248aec

View File

@@ -19,6 +19,7 @@
SDL2,
sqlite,
zlib,
versionCheckHook,
}:
let
version = "2.84.0";
@@ -108,6 +109,9 @@ stdenv.mkDerivation {
(lib.cmakeFeature "INSTALL_DEFAULT_BINDIR" "${placeholder "out"}/bin")
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license";
homepage = "https://etlegacy.com";