9 pname = "redis_exporter";
12 src = fetchFromGitHub {
14 repo = "redis_exporter";
16 sha256 = "sha256-y+SZedMYxO0AMSjA5sCz9ynY1N537PCJ8LT3Mx1N4eA=";
19 vendorHash = "sha256-b3rvF91f/JoAAY6vut+NUCbuQAf2XsQn/n5mVLPnIoU=";
22 "-X main.BuildVersion=${version}"
23 "-X main.BuildCommitSha=unknown"
24 "-X main.BuildDate=unknown"
27 # needs a redis server
30 passthru.tests = { inherit (nixosTests.prometheus-exporters) redis; };
33 description = "Prometheus exporter for Redis metrics";
34 mainProgram = "redis_exporter";
35 homepage = "https://github.com/oliver006/redis_exporter";
36 license = licenses.mit;
37 maintainers = with maintainers; [