2020-11-30 08:33:03 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "glab";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.14.0";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "profclems";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-JvHuOMpt62tw7ewDev7unAgZGV+ZSo6wDuiPhWap2v0=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
vendorSha256 = "sha256-0nnrH3GJhd4wlRETo9iSlFkXq358m30k7Fsb5haHlpQ=";
|
2020-11-30 08:33:03 +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 ];
|
|
|
|
};
|
|
|
|
}
|