diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 14a33afd8025..940d7a59b496 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1600,6 +1600,12 @@ githubId = 962885; name = "Andrew Chambers"; }; + andrewfield = { + email = "andrew_field@hotmail.co.uk"; + github = "andrew-field"; + githubId = 27866671; + name = "Andrew Field"; + }; andrewgazelka = { email = "andrew@gazelka.com"; github = "andrewgazelka"; diff --git a/pkgs/by-name/al/alterware-launcher/package.nix b/pkgs/by-name/al/alterware-launcher/package.nix new file mode 100644 index 000000000000..5d7132d0fe13 --- /dev/null +++ b/pkgs/by-name/al/alterware-launcher/package.nix @@ -0,0 +1,34 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + perl, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "alterware-launcher"; + version = "0.11.2"; + + src = fetchFromGitHub { + owner = "alterware"; + repo = "alterware-launcher"; + tag = "v${finalAttrs.version}"; + hash = "sha256-DFIiVNYom3LvU9IFA9w9FvXwm9gqfACDs8KaFKQR9Qs="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-/2i6GyBTKLf2oNFkizaBUHcLcCPgsy3g0p31D6cO+xg="; + + nativeBuildInputs = [ perl ]; + + meta = { + description = "Official launcher for AlterWare Call of Duty mods"; + longDescription = "Our clients are designed to restore missing features that have been removed by the developers, as well as enhance the capabilities of the games"; + homepage = "https://alterware.dev"; + changelog = "https://github.com/alterware/alterware-launcher/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ andrewfield ]; + mainProgram = "alterware-launcher"; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + }; +})