Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ buildGoModule, lib, installShellFiles, fetchFromGitHub, nix-update-script,}:
buildGoModule rec { pname = "deck"; version = "1.47.0";
src = fetchFromGitHub { owner = "Kong"; repo = "deck"; tag = "v${version}"; hash = "sha256-k/cAybKJq/s5PcEMjT92dZlue9XpEeeHwICHk8ex3G8="; };
nativeBuildInputs = [ installShellFiles ];
env.CGO_ENABLED = 0;
ldflags = [ "-s -w -X github.com/kong/deck/cmd.VERSION=${version}" "-X github.com/kong/deck/cmd.COMMIT=${src.rev}" ];
proxyVendor = true; # darwin/linux hash mismatch vendorHash = "sha256-nKKCz7T6HLCBwQjPV/kpzgtR8yNiZS/Ta0H1DlKaLk8=";
postInstall = '' installShellCompletion --cmd deck \ --bash <($out/bin/deck completion bash) \ --fish <($out/bin/deck completion fish) \ --zsh <($out/bin/deck completion zsh) '';
passthru.updateScript = nix-update-script { };
meta = { description = "Configuration management and drift detection tool for Kong"; homepage = "https://github.com/Kong/deck"; license = lib.licenses.asl20; mainProgram = "deck"; maintainers = with lib.maintainers; [ liyangau ]; };}