gitAndTools.glab: init at 1.11.1

This commit is contained in:
freezeboy 2020-11-26 16:27:31 +01:00
parent e26dba26ef
commit 2f2166f40d
2 changed files with 30 additions and 0 deletions

View file

@ -203,6 +203,8 @@ let
inherit (darwin.apple_sdk.frameworks) Security AppKit;
};
glab = callPackage ./glab { };
grv = callPackage ./grv { };
hub = callPackage ./hub { };

View file

@ -0,0 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "glab";
version = "1.11.1";
src = fetchFromGitHub {
owner = "profclems";
repo = pname;
rev = "v${version}";
sha256 = "mmrTuldU2WDe9t2nC3DYfqwb28uh6qjAaaveR221mjw=";
};
vendorSha256 = "B4RKcKUTdGkonsKhL7NIKzVpZq6XD6cMMWed4wr/Moc=";
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 ];
};
}