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
1
-
{ lib, buildGoPackage, fetchFromGitHub }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub }:
2
2
3
3
-
buildGoPackage rec {
3
3
+
buildGoModule rec {
4
4
pname = "aws-s3-exporter";
5
5
-
version = "0.4.1";
6
6
-
7
7
-
goPackagePath = "github.com/ribbybibby/s3_exporter";
5
5
+
version = "0.5.0";
8
6
9
7
src = fetchFromGitHub {
10
8
owner = "ribbybibby";
11
9
repo = "s3_exporter";
12
10
rev = "v${version}";
13
13
-
sha256 = "01g4k5wrbc2ggxkn4yqd2v0amw8yl5dbcfwi4jm3kqkihrf0rbiq";
11
11
+
sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
14
12
};
15
13
16
16
-
doCheck = true;
14
14
+
vendorSha256 = null;
15
15
+
16
16
+
ldflags = [ "-s" "-w" ];
17
17
18
18
meta = with lib; {
19
19
description = "Exports Prometheus metrics about S3 buckets and objects";