tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
memcached-exporter: init at 0.15.3
DESPsyched
8 months ago
55d6bce7
d85e3b87
+31
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
me
memcached-exporter
package.nix
+31
pkgs/by-name/me/memcached-exporter/package.nix
···
1
1
+
{
2
2
+
buildGoModule,
3
3
+
fetchFromGitHub,
4
4
+
lib,
5
5
+
}:
6
6
+
7
7
+
buildGoModule (finalAttrs: {
8
8
+
pname = "memcached-exporter";
9
9
+
version = "0.15.3";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "prometheus";
13
13
+
repo = "memcached_exporter";
14
14
+
tag = "v${finalAttrs.version}";
15
15
+
hash = "sha256-Y2y8XMR+YHbxFQFYqwtQ4aRi71jD6l3witEwjxAjuOc=";
16
16
+
};
17
17
+
18
18
+
vendorHash = "sha256-Q2b8/QA12HI6ynLU5aNmwOal+snHd1Be6p3UWk4DJhw=";
19
19
+
20
20
+
# Tests touch the network
21
21
+
doCheck = false;
22
22
+
23
23
+
meta = {
24
24
+
changelog = "https://github.com/prometheus/memcached_exporter/releases/tag/${finalAttrs.src.tag}";
25
25
+
description = "Exports metrics from memcached servers for consumption by Prometheus";
26
26
+
homepage = "https://github.com/prometheus/memcached_exporter";
27
27
+
license = lib.licenses.asl20;
28
28
+
mainProgram = "memcached_exporter";
29
29
+
teams = with lib.teams; [ deshaw ];
30
30
+
};
31
31
+
})