mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 12:08:17 +03:00
Merge pull request #171334 from aaronjheng/prometheus-aws-s3-exporter
prometheus-aws-s3-exporter: 0.4.1 -> 0.5.0
This commit is contained in:
commit
9344233ab1
@ -1,19 +1,19 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "aws-s3-exporter";
|
pname = "aws-s3-exporter";
|
||||||
version = "0.4.1";
|
version = "0.5.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/ribbybibby/s3_exporter";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ribbybibby";
|
owner = "ribbybibby";
|
||||||
repo = "s3_exporter";
|
repo = "s3_exporter";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "01g4k5wrbc2ggxkn4yqd2v0amw8yl5dbcfwi4jm3kqkihrf0rbiq";
|
sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Exports Prometheus metrics about S3 buckets and objects";
|
description = "Exports Prometheus metrics about S3 buckets and objects";
|
||||||
|
Loading…
Reference in New Issue
Block a user