8ec1fd4587
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
28 lines
679 B
Nix
28 lines
679 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "glab";
|
|
version = "1.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "profclems";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-KkkP/qkIrwJUxmZTY8zxJKMbOiaGl8XqJhHAU7oejGs=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-DO8eH0DAitxX0NOYQBs4/ME9TFQYfXedwbld1DnBWXk=";
|
|
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 ];
|
|
};
|
|
}
|