blob: 21c469694c838d9f9e6b715a843676a7a8ee4d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "aws-s3-exporter";
version = "0.3.0";
goPackagePath = "github.com/ribbybibby/s3_exporter";
goDeps = ./aws-s3-exporter_deps.nix;
src = fetchFromGitHub {
owner = "ribbybibby";
repo = "s3_exporter";
rev = "v${version}";
sha256 = "062qi4rfqkxwknncwcvx4g132bxhkn2bhbxi4l90wl93v6sdp9l2";
};
doCheck = true;
meta = with stdenv.lib; {
description = "Exports Prometheus metrics about S3 buckets and objects";
homepage = "https://github.com/ribbybibby/s3_exporter";
license = licenses.asl20;
maintainers = [ maintainers.mmahut ];
platforms = platforms.all;
};
}
|