prometheus-redis-exporter: 1.7.0 -> 1.23.1
This commit is contained in:
parent
a9683cd227
commit
ee87b5df96
@ -1,19 +1,17 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "redis_exporter";
|
||||
version = "1.7.0";
|
||||
|
||||
goPackagePath = "github.com/oliver006/redis_exporter";
|
||||
version = "1.23.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oliver006";
|
||||
repo = "redis_exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rwaxpylividyxz0snfgck32kvpgjkhg20bmdnlp35cdzxcxi8m1";
|
||||
sha256 = "0hlzxmc3jnmbym7by89bb73nlr0gw1xj8d88x10zx55kry7p0jfn";
|
||||
};
|
||||
|
||||
goDeps = ./redis-exporter-deps.nix;
|
||||
vendorSha256 = "11237959ikd7l5glkhfz0g55mbld2hq985b5crwb9bnimaly5lga";
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
@ -22,6 +20,9 @@ buildGoPackage rec {
|
||||
-X main.BuildDate=unknown
|
||||
'';
|
||||
|
||||
# needs a redis server
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) redis; };
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user