2024-06-28 06:52:46 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitLab,
|
|
|
|
buildGoModule,
|
|
|
|
stdenv,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gitlab-release-cli";
|
2024-10-21 07:27:04 -06:00
|
|
|
version = "0.19.0";
|
2024-06-28 06:52:46 -06:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "gitlab-org";
|
|
|
|
repo = "release-cli";
|
|
|
|
rev = "v${version}";
|
2024-10-21 07:27:04 -06:00
|
|
|
hash = "sha256-AEDao1tehg15SmluHlivG/I+Y9Gcxjj7KUEGAmOZ1aY=";
|
2024-06-28 06:52:46 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-UwDMRsWbk8rEv2d5FssIzCLby68YZULoxd3/JGLsCQU=";
|
|
|
|
|
|
|
|
checkFlags = lib.optionals stdenv.hostPlatform.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";
|
|
|
|
};
|
|
|
|
}
|