blob: e98b63c7a3527f36b42cc705f2ec547374c9a7b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, symlinkJoin
, etlegacy-assets
, etlegacy-unwrapped
, makeBinaryWrapper
}:
symlinkJoin {
name = "etlegacy";
version = "2.82.0";
paths = [
etlegacy-assets
etlegacy-unwrapped
];
nativeBuildInputs = [
makeBinaryWrapper
];
postBuild = ''
makeWrapper $out/bin/etl.* $out/bin/etl \
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
makeWrapper $out/bin/etlded.* $out/bin/etlded \
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
'';
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";
license = with lib.licenses; [ gpl3Plus cc-by-nc-sa-30 ];
longDescription = ''
ET: Legacy, an open source project fully compatible client and server
for the popular online FPS game Wolfenstein: Enemy Territory - whose
gameplay is still considered unmatched by many, despite its great age.
'';
mainProgram = "etl";
maintainers = with lib.maintainers; [ ashleyghooper drupol ];
platforms = lib.platforms.linux;
};
}
|