gitlab-ci-linter: init at 2.4.0 (#445230)
This commit is contained in:
@@ -4182,6 +4182,13 @@
|
||||
githubId = 91694;
|
||||
name = "Javier Candeira";
|
||||
};
|
||||
caniko = {
|
||||
email = "gpg@rotas.mozmail.com";
|
||||
github = "caniko";
|
||||
githubId = 29519599;
|
||||
name = "Can H. Tartanoglu";
|
||||
keys = [ { fingerprint = "DF95 1EC0 9B8F 8094 C616 5589 1D63 6EDE 97DC 0280"; } ];
|
||||
};
|
||||
canndrew = {
|
||||
email = "shum@canndrew.org";
|
||||
github = "canndrew";
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitLab,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "gitlab-ci-linter";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "orobardet";
|
||||
repo = "gitlab-ci-linter";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zH7eeAJzazDf4LnfBxFKMIPIB4Gx4rn7DCEqBV5zIWo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-GKv7uWnY9UqDuzj/VcXTAjGJUyUEsZws3ORnPCX8mwU=";
|
||||
|
||||
# Build flags based on the project's Makefile
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
env.CGO_ENABLED = 0;
|
||||
|
||||
meta = {
|
||||
description = ".gitlab-ci.yml lint helper tool";
|
||||
homepage = "https://gitlab.com/orobardet/gitlab-ci-linter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ caniko ];
|
||||
mainProgram = "gitlab-ci-linter";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user