Merge pull request #323147 from kilimnik/release-cli

gitlab-release-cli: init at 0.18.0
This commit is contained in:
Aleksana 2024-07-05 23:32:16 +08:00 committed by GitHub
commit e727204914
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,33 @@
{
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";
};
}