mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
etlegacy-unwrapped: add versionCheckHook
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user