Merge pull request #174591 from Infinidoge/new/packwiz

packwiz: init

authored by legendofmiracles and committed by GitHub e221ba1e 77dc1e4a

+48
+6
maintainers/maintainer-list.nix
··· 5504 githubId = 37965; 5505 name = "Léo Stefanesco"; 5506 }; 5507 infinisil = { 5508 email = "contact@infinisil.com"; 5509 matrix = "@infinisil:matrix.org";
··· 5504 githubId = 37965; 5505 name = "Léo Stefanesco"; 5506 }; 5507 + infinidoge = { 5508 + name = "Infinidoge"; 5509 + email = "infinidoge@inx.moe"; 5510 + github = "Infinidoge"; 5511 + githubId = 22727114; 5512 + }; 5513 infinisil = { 5514 email = "contact@infinisil.com"; 5515 matrix = "@infinisil:matrix.org";
+38
pkgs/tools/games/minecraft/packwiz/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , installShellFiles 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "packwiz"; 9 + version = "unstable-2022-5-25"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "packwiz"; 13 + repo = "packwiz"; 14 + rev = "e71b63ea98283c8c1f0e03ee51ae40f452f22a61"; 15 + sha256 = "sha256-XwGacEVfQAduDCSMQFRw7Xnx4bND2zaV7l27B+2u5xg="; 16 + }; 17 + 18 + vendorSha256 = "sha256-M9u7N4IrL0B4pPRQwQG5TlMaGT++w3ZKHZ0RdxEHPKk="; 19 + 20 + nativeBuildInputs = [ 21 + installShellFiles 22 + ]; 23 + 24 + postInstall = '' 25 + installShellCompletion --cmd packwiz \ 26 + --bash <($out/bin/packwiz completion bash) \ 27 + --fish <($out/bin/packwiz completion fish) \ 28 + --zsh <($out/bin/packwiz completion zsh) 29 + ''; 30 + 31 + meta = with lib; { 32 + description = "A command line tool for editing and distributing Minecraft modpacks, using a git-friendly TOML format"; 33 + homepage = "https://packwiz.infra.link/"; 34 + license = licenses.mit; 35 + maintainers = with maintainers; [ infinidoge ]; 36 + mainProgram = "packwiz"; 37 + }; 38 + }
+4
pkgs/top-level/all-packages.nix
··· 1356 python = python3; 1357 }; 1358 1359 pcem = callPackage ../applications/emulators/pcem { }; 1360 1361 pcsx2 = callPackage ../applications/emulators/pcsx2 {
··· 1356 python = python3; 1357 }; 1358 1359 + packwiz = callPackage ../tools/games/minecraft/packwiz { 1360 + buildGoModule = buildGo118Module; 1361 + }; 1362 + 1363 pcem = callPackage ../applications/emulators/pcem { }; 1364 1365 pcsx2 = callPackage ../applications/emulators/pcsx2 {