2021-05-11 06:13:12 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-08-27 16:35:38 +02:00
|
|
|
|
2021-05-11 06:13:12 +02:00
|
|
|
buildGoModule rec {
|
2019-08-27 16:35:38 +02:00
|
|
|
pname = "gitlab-ci-pipelines-exporter";
|
2021-05-11 06:13:12 +02:00
|
|
|
version = "0.4.9";
|
2019-08-27 16:35:38 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvisonneau";
|
|
|
|
repo = pname;
|
2021-05-11 06:13:12 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "13zs8140n4z56i0xkl6jvvmwy80l07dxyb23wxzd5avbdm8knypz";
|
2019-08-27 16:35:38 +02:00
|
|
|
};
|
|
|
|
|
2021-05-11 06:13:12 +02:00
|
|
|
vendorSha256 = "1k620r3d1swhj7cfmqjh5n08da2a6w87fwrsajl0y324iyw2chsa";
|
|
|
|
|
2019-08-27 16:35:38 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-08-27 16:35:38 +02:00
|
|
|
description = "Prometheus / OpenMetrics exporter for GitLab CI pipelines insights";
|
|
|
|
homepage = "https://github.com/mvisonneau/gitlab-ci-pipelines-exporter";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mmahut ];
|
|
|
|
};
|
|
|
|
}
|