Unverified Commit 0f7402dd authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #254865 from r-ryantm/auto-update/glab

glab: 1.31.0 -> 1.32.0
parents a1438104 c2b07ef0
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2,16 +2,16 @@

buildGoModule rec {
  pname = "glab";
  version = "1.31.0";
  version = "1.32.0";

  src = fetchFromGitLab {
    owner = "gitlab-org";
    repo = "cli";
    rev = "v${version}";
    hash = "sha256-K7yGRuIfYEqs4ziystxLMK+dYUZoyGlBJAmx2qmY08Q=";
    hash = "sha256-7XFekLlWcifqGJL6IIONpixdMAyGBJJmqo+l6RKCfC8=";
  };

  vendorHash = "sha256-WfzN70HHLatBuV+GW2VC+5laR3rBfDOqPydyxMSmL3s=";
  vendorHash = "sha256-HiU6Kx/du8QLNKUDsSMm349msxSxyNRppxadtIpglBg=";

  ldflags = [
    "-s"
@@ -29,6 +29,8 @@ buildGoModule rec {
  nativeBuildInputs = [ installShellFiles ];

  postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
    make manpage
    installManPage share/man/man1/*
    installShellCompletion --cmd glab \
      --bash <($out/bin/glab completion -s bash) \
      --fish <($out/bin/glab completion -s fish) \
@@ -39,6 +41,7 @@ buildGoModule rec {
    description = "GitLab CLI tool bringing GitLab to your command line";
    license = licenses.mit;
    homepage = "https://gitlab.com/gitlab-org/cli";
    changelog = "https://gitlab.com/gitlab-org/cli/-/releases/v${version}";
    maintainers = with maintainers; [ freezeboy ];
  };
}