depot/third_party/nixpkgs/pkgs/by-name/gi/gitlab-release-cli/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

33 lines
763 B
Nix

{
lib,
fetchFromGitLab,
buildGoModule,
stdenv,
}:
buildGoModule rec {
pname = "gitlab-release-cli";
version = "0.18.0";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "release-cli";
rev = "v${version}";
hash = "sha256-CCSice/uMf2OfFNEpwwhX6A0wrSsC1v9XWEhAAwQRso=";
};
vendorHash = "sha256-UwDMRsWbk8rEv2d5FssIzCLby68YZULoxd3/JGLsCQU=";
checkFlags = lib.optionals stdenv.isDarwin [
# Skip failing test
"-skip TestHTTPSCustomCA"
];
meta = {
description = "Toolset to create, retrieve and update releases on GitLab";
homepage = "https://gitlab.com/gitlab-org/release-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kilimnik ];
mainProgram = "release-cli";
};
}