nixpkgs/pkgs/applications/version-management/git-and-tools/glab/default.nix

29 lines
679 B
Nix
Raw Normal View History

2020-11-26 07:27:31 -08:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "glab";
2021-01-18 14:00:55 -08:00
version = "1.13.1";
2020-11-26 07:27:31 -08:00
src = fetchFromGitHub {
owner = "profclems";
repo = pname;
rev = "v${version}";
2021-01-18 14:00:55 -08:00
sha256 = "sha256-NSc/h6cENuXIBwC4ixvZDlERV7b/X0GB4OGzxGEk4YY=";
2020-11-26 07:27:31 -08:00
};
2021-01-18 14:00:55 -08:00
vendorSha256 = "sha256-N9swoVltKzdYez1WSoXMLZCvfYSFhVXgPjUfR0+5aAo=";
2020-11-26 07:27:31 -08:00
runVend = true;
# Tests are trying to access /homeless-shelter
doCheck = false;
subPackages = [ "cmd/glab" ];
meta = with lib; {
description = "An open-source GitLab command line tool";
license = licenses.mit;
homepage = "https://glab.readthedocs.io/";
maintainers = with maintainers; [ freezeboy ];
};
}