prometheus-aws-s3-exporter: 0.4.1 -> 0.5.0

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