tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
prometheus-aws-s3-exporter: 0.4.1 -> 0.5.0
Aaron Jheng
3 years ago
5aec68a7
d770c335
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
servers
monitoring
prometheus
aws-s3-exporter.nix
+7
-7
pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix
···
1
-
{ lib, buildGoPackage, fetchFromGitHub }:
2
3
-
buildGoPackage rec {
4
pname = "aws-s3-exporter";
5
-
version = "0.4.1";
6
-
7
-
goPackagePath = "github.com/ribbybibby/s3_exporter";
8
9
src = fetchFromGitHub {
10
owner = "ribbybibby";
11
repo = "s3_exporter";
12
rev = "v${version}";
13
-
sha256 = "01g4k5wrbc2ggxkn4yqd2v0amw8yl5dbcfwi4jm3kqkihrf0rbiq";
14
};
15
16
-
doCheck = true;
0
0
17
18
meta = with lib; {
19
description = "Exports Prometheus metrics about S3 buckets and objects";
···
1
+
{ lib, buildGoModule, fetchFromGitHub }:
2
3
+
buildGoModule rec {
4
pname = "aws-s3-exporter";
5
+
version = "0.5.0";
0
0
6
7
src = fetchFromGitHub {
8
owner = "ribbybibby";
9
repo = "s3_exporter";
10
rev = "v${version}";
11
+
sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
12
};
13
14
+
vendorSha256 = null;
15
+
16
+
ldflags = [ "-s" "-w" ];
17
18
meta = with lib; {
19
description = "Exports Prometheus metrics about S3 buckets and objects";