-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitlab-ci-verify.nix
31 lines (26 loc) · 971 Bytes
/
gitlab-ci-verify.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# [gitlab-ci-verify](https://github.com/timo-reymann/gitlab-ci-verify) is a tool to help validate/lint gitlab ci files
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gitlab-ci-verify";
version = "0.3.0";
src = fetchFromGitHub {
owner = "timo-reymann";
repo = "gitlab-ci-verify";
rev = "v${version}";
hash = "sha256-wqh9vqnwshXFyhr3LWISPtSq7cX9avnWGuf31cq6FRk=";
fetchSubmodules = true;
};
vendorHash = "sha256-f9zgIlxj82jfmhRJ9LPb6OlEu4Xo7Vt36FFkkpUjcok=";
ldflags = [ "-s" "-w" ];
meta = {
description = "Validate and lint your gitlab ci files using ShellCheck, the Gitlab API and curated checks";
homepage = "https://github.com/timo-reymann/gitlab-ci-verify";
changelog = "https://github.com/timo-reymann/gitlab-ci-verify/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jpetrucciani ];
mainProgram = "gitlab-ci-verify";
};
}