diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-11-28 18:15:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 18:15:47 +0200 |
commit | 14b61ec8eb25f82243fb06cb2a0414ea647e48b1 (patch) | |
tree | a09a8c25d616f53e69ce174cc5e261884208acb4 /pkgs/applications/version-management | |
parent | cee92cf1077b84e2a0e663f6ddf206f417463096 (diff) | |
parent | 2f2166f40d39bdf062e47f459377c62cdc6e81ce (diff) |
Merge pull request #105044 from freezeboy/add-glab
gitAndTools.glab: init at 1.11.1
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/glab/default.nix | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index 477d9ca3ea6f..bf6591a8cb9c 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -203,6 +203,8 @@ let inherit (darwin.apple_sdk.frameworks) Security AppKit; }; + glab = callPackage ./glab { }; + grv = callPackage ./grv { }; hub = callPackage ./hub { }; diff --git a/pkgs/applications/version-management/git-and-tools/glab/default.nix b/pkgs/applications/version-management/git-and-tools/glab/default.nix new file mode 100644 index 000000000000..9c2e4f00ca7a --- /dev/null +++ b/pkgs/applications/version-management/git-and-tools/glab/default.nix @@ -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 ]; + }; +} |