3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/glab/default.nix

29 lines
679 B
Nix
Raw Normal View History

2020-11-26 15:27:31 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "glab";
2021-03-13 06:04:47 +00:00
version = "1.16.0";
2020-11-26 15:27:31 +00:00
src = fetchFromGitHub {
owner = "profclems";
repo = pname;
rev = "v${version}";
2021-03-13 06:04:47 +00:00
sha256 = "sha256-KkkP/qkIrwJUxmZTY8zxJKMbOiaGl8XqJhHAU7oejGs=";
2020-11-26 15:27:31 +00:00
};
2021-03-13 06:04:47 +00:00
vendorSha256 = "sha256-DO8eH0DAitxX0NOYQBs4/ME9TFQYfXedwbld1DnBWXk=";
2020-11-26 15:27:31 +00: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 ];
};
}