Skip to content

Commit 5330b2a

Browse files
authored
glab: 1.50.0 -> 1.51.0; add nix-update-script (#366874)
2 parents 4bf5883 + 115df1c commit 5330b2a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkgs/by-name/gl/glab/package.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@
44
fetchFromGitLab,
55
installShellFiles,
66
stdenv,
7+
nix-update-script,
78
}:
89

910
buildGo123Module rec {
1011
pname = "glab";
11-
version = "1.50.0";
12+
version = "1.51.0";
1213

1314
src = fetchFromGitLab {
1415
owner = "gitlab-org";
1516
repo = "cli";
1617
rev = "v${version}";
17-
hash = "sha256-WQO+9Fmlzj21UPJ9cdFc6JC8mbkzOWxz077JR+11BXA=";
18+
hash = "sha256-EWcoEm6DbRT0PP2qYhdwDHCkbeAG6vDVATPhX9pPfiw=";
1819
};
1920

20-
vendorHash = "sha256-nwHY0221nacHk4M+RKA8BEJLCoJJdIKwP0ZPjhYxc7Q=";
21+
vendorHash = "sha256-f6qAFeB9kshtQ2AW6OnEGSnhJYlJ2gAGRDplVmQSVNA=";
2122

2223
ldflags = [
2324
"-s"
@@ -43,6 +44,8 @@ buildGo123Module rec {
4344
--zsh <($out/bin/glab completion -s zsh)
4445
'';
4546

47+
passthru.updateScript = nix-update-script { };
48+
4649
meta = {
4750
description = "GitLab CLI tool bringing GitLab to your command line";
4851
license = lib.licenses.mit;

0 commit comments

Comments
 (0)