memcached-exporter: init at 0.15.3

+31
+31
pkgs/by-name/me/memcached-exporter/package.nix
··· 1 + { 2 + buildGoModule, 3 + fetchFromGitHub, 4 + lib, 5 + }: 6 + 7 + buildGoModule (finalAttrs: { 8 + pname = "memcached-exporter"; 9 + version = "0.15.3"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "prometheus"; 13 + repo = "memcached_exporter"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-Y2y8XMR+YHbxFQFYqwtQ4aRi71jD6l3witEwjxAjuOc="; 16 + }; 17 + 18 + vendorHash = "sha256-Q2b8/QA12HI6ynLU5aNmwOal+snHd1Be6p3UWk4DJhw="; 19 + 20 + # Tests touch the network 21 + doCheck = false; 22 + 23 + meta = { 24 + changelog = "https://github.com/prometheus/memcached_exporter/releases/tag/${finalAttrs.src.tag}"; 25 + description = "Exports metrics from memcached servers for consumption by Prometheus"; 26 + homepage = "https://github.com/prometheus/memcached_exporter"; 27 + license = lib.licenses.asl20; 28 + mainProgram = "memcached_exporter"; 29 + teams = with lib.teams; [ deshaw ]; 30 + }; 31 + })