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 ]; }; }