prometheus-node-exporter: extracted from goPackages
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"github.com/soundcloud/go-runit",
|
||||
"github.com/beevik/ntp",
|
||||
"github.com/prometheus/client_golang",
|
||||
"github.com/prometheus/client_model",
|
||||
"bitbucket.org/ww/goautoneg",
|
||||
"github.com/Sirupsen/logrus",
|
||||
"github.com/beorn7/perks",
|
||||
"github.com/matttproud/golang_protobuf_extensions",
|
||||
"github.com/prometheus/log",
|
||||
"github.com/golang/protobuf",
|
||||
"github.com/prometheus/procfs"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user