From 78e2ffb2344448139413b71b3d822684692eb4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Wed, 30 Nov 2022 13:53:23 +0100 Subject: [PATCH] glab: 1.22.0 -> 1.23.0 https://github.com/profclems/glab/issues/983 https://gitlab.com/gitlab-org/cli/-/releases/v1.23.0 --- .../git-and-tools/glab/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/glab/default.nix b/pkgs/applications/version-management/git-and-tools/glab/default.nix index 70d82410997ce..a8c44c965df7d 100644 --- a/pkgs/applications/version-management/git-and-tools/glab/default.nix +++ b/pkgs/applications/version-management/git-and-tools/glab/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles, stdenv }: +{ lib, stdenv, buildGoModule, fetchFromGitLab, installShellFiles }: buildGoModule rec { pname = "glab"; - version = "1.22.0"; + version = "1.23.0"; - src = fetchFromGitHub { - owner = "profclems"; - repo = pname; + src = fetchFromGitLab { + owner = "gitlab-org"; + repo = "cli"; rev = "v${version}"; - sha256 = "sha256-7w6cbeZYhmV0EXXcWlXFq2pQGGxc5Ok4bba0g3fcgmE="; + sha256 = "sha256-NHBLaUEWurWnwbLiEsi3/pHqxKcgjjx+oRAGZXxni/Q="; }; - vendorSha256 = "sha256-hGpJXCs5lZ6QQHr6LW1fCT+CVtOaUpYXJPchDPDdbaM="; + vendorSha256 = "sha256-NuK63ibb1t+HnSR/gCFS7HWVtfGLazVx2M+qxRNCR1I="; ldflags = [ "-X main.version=${version}" @@ -34,9 +34,9 @@ buildGoModule rec { ''; meta = with lib; { - description = "An open-source GitLab command line tool"; + description = "A GitLab CLI tool bringing GitLab to your command line"; license = licenses.mit; - homepage = "https://glab.readthedocs.io/"; + homepage = "https://gitlab.com/gitlab-org/cli"; maintainers = with maintainers; [ freezeboy ]; }; }