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-08-10 16:14:36 +01:00
version = "1.19.0";
2020-11-26 15:27:31 +00:00
src = fetchFromGitHub {
owner = "profclems";
repo = pname;
rev = "v${version}";
2021-08-10 16:14:36 +01:00
sha256 = "sha256-bg0uLivvLYnDS8h13RkmU8gSEa8q2yxUWN9TN19qjxQ=";
2020-11-26 15:27:31 +00:00
};
2021-08-10 16:14:36 +01:00
vendorSha256 = "sha256-9+WBKc8PI0v6bnkC+78Ygv/eocQ3D7+xBb8lcv16QTE=";
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 ];
};
}