3 , writeShellApplication
26 fakeGit = writeShellApplication {
30 if [ "$1" = "describe" ]; then
37 pname = "etlegacy-unwrapped";
40 src = fetchFromGitHub {
43 rev = "refs/tags/v${version}";
44 hash = "sha256-DA5tudbehXIU+4hX3ggcxWZ7AAOa8LUkIvUHbgMgDY8=";
73 # Required for build time to not be in 1980
74 export SOURCE_DATE_EPOCH=$(date +%s)
75 # This indicates the build was by a CI pipeline and prevents the resource
76 # files from being flagged as 'dirty' due to potentially being custom built.
89 "-DINSTALL_WOLFADMIN=0"
90 "-DFEATURE_AUTOUPDATE=0"
91 "-DINSTALL_DEFAULT_BASEDIR=${placeholder "out"}/lib/etlegacy"
92 "-DINSTALL_DEFAULT_BINDIR=${placeholder "out"}/bin"
95 hardeningDisable = [ "fortify" ];
98 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";
99 homepage = "https://etlegacy.com";
100 license = with lib.licenses; [ gpl3Plus ];
102 ET: Legacy, an open source project fully compatible client and server
103 for the popular online FPS game Wolfenstein: Enemy Territory - whose
104 gameplay is still considered unmatched by many, despite its great age.
106 maintainers = with lib.maintainers; [ ashleyghooper drupol ];
107 platforms = lib.platforms.linux;