blob: 3b8d6fe166644973aaa633ae72006058914fb463 (
plain) (
blame)
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, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "node_exporter-${version}";
version = "0.11.0";
rev = version;
goPackagePath = "github.com/prometheus/node_exporter";
src = fetchgit {
inherit rev;
url = "https://github.com/prometheus/node_exporter";
sha256 = "149fs9yxnbiyd4ww7bxsv730mcskblpzb3cs4v12jnq2v84a4kk4";
};
goDeps = ./node-exporter_deps.json;
doCheck = true;
meta = with stdenv.lib; {
description = "Prometheus exporter for machine metrics";
homepage = https://github.com/prometheus/node_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
platforms = platforms.unix;
};
}
|