Commit Graph

13 Commits

Author SHA1 Message Date
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Pol Dellaiera
2836fd6fce
etlegacy: reformat files 2023-08-20 23:43:37 +02:00
Pol Dellaiera
bc586df93d
etlegacy: add meta.longDescription 2023-08-20 23:43:18 +02:00
Pol Dellaiera
d998c261cc
etlegacy: replace writeScriptBin with writeShellApplication 2023-08-20 23:42:49 +02:00
Pol Dellaiera
3c9d06797b
etlegacy: remove mainprogram attribute 2023-08-20 19:11:16 +02:00
Pol Dellaiera
eab7a24373
etlegacy: disable fortify to have fully working binaries 2023-08-20 19:10:55 +02:00
Pol Dellaiera
1461c8fdd3
etlegacy: update cmakeFlags and change default install directories 2023-08-20 19:10:55 +02:00
Pol Dellaiera
f07f9addb1
etlegacy: build server and client 2023-08-20 18:56:50 +02:00
Pol Dellaiera
9a0d0c1b50
etlegacy: refactor fetchAsset 2023-08-19 21:49:20 +02:00
Pol Dellaiera
918f740a67
etlegacy: reduce amount of local vars 2023-08-19 21:46:06 +02:00
Pol Dellaiera
81f84d95e4
etlegacy: add drupol as maintainer 2023-08-19 21:44:52 +02:00
Pol Dellaiera
51824a08f3
etlegacy: remove unused runCommand argument 2023-08-19 21:44:32 +02:00
Ashley Hooper
193816c52e
etlegacy: init at 2.81.1
See packaging request: etlegacy - fixes NixOS#101187.

This change has been updated in light of feedback from @teto
to use a more conventional structure consisting of a single
stdenv.mkDerivation, with the wrapper moved into postInstall.

fetchGit was substituted for fetchFromGitHub.

The 'fakeGit' script was greatly simplified to simply echo
${version}.

meta.mainProgram was also added, as the filename of the main
binary varies according to the architecture, and is referenced
in the XDG .desktop files. This also avoids collisons as it's
not overly uncommon for people to have both 32- and 64-bit
versions of this game installed at the same time.

meta.license was updated to include the cc-by-nc-sa-30 license,
which some resources use.

Finally the configuration was passed through the alejandra
nix formatter.
2023-04-06 20:00:28 +12:00