prometheus-*: fixes to deal with goPackages multiple-outputs changes
This commit is contained in:
parent
96882b14d5
commit
a480bd89dc
11 changed files with 46 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, goPackages, fetchFromGitHub, protobuf, vim }:
|
{ stdenv, lib, goPackages, fetchFromGitHub, protobuf, vim }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-alertmanager-${rev}";
|
name = "prometheus-alertmanager-${rev}";
|
||||||
rev = "0.0.4";
|
rev = "0.0.4";
|
||||||
goPackagePath = "github.com/prometheus/alertmanager";
|
goPackagePath = "github.com/prometheus/alertmanager";
|
||||||
|
@ -13,7 +13,7 @@ goPackages.buildGoPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
goPackages.protobuf
|
goPackages.protobuf.bin
|
||||||
goPackages.fsnotify.v0
|
goPackages.fsnotify.v0
|
||||||
goPackages.httprouter
|
goPackages.httprouter
|
||||||
goPackages.prometheus.client_golang
|
goPackages.prometheus.client_golang
|
||||||
|
@ -51,4 +51,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-cli-${rev}";
|
name = "prometheus-cli-${rev}";
|
||||||
rev = "0.3.0";
|
rev = "0.3.0";
|
||||||
goPackagePath = "github.com/prometheus/prometheus_cli";
|
goPackagePath = "github.com/prometheus/prometheus_cli";
|
||||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ goPackages, lib, fetchFromGitHub }:
|
{ goPackages, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-collectd-exporter-${rev}";
|
name = "prometheus-collectd-exporter-${rev}";
|
||||||
rev = "0.1.0";
|
rev = "0.1.0";
|
||||||
goPackagePath = "github.com/prometheus/collectd_exporter";
|
goPackagePath = "github.com/prometheus/collectd_exporter";
|
||||||
|
@ -21,4 +21,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, goPackages, fetchFromGitHub, }:
|
{ stdenv, lib, goPackages, fetchFromGitHub, }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-haproxy-exporter-0.4.0";
|
name = "prometheus-haproxy-exporter-0.4.0";
|
||||||
goPackagePath = "github.com/prometheus/haproxy_exporter";
|
goPackagePath = "github.com/prometheus/haproxy_exporter";
|
||||||
|
|
||||||
|
@ -20,4 +20,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-mesos-exporter-${rev}";
|
name = "prometheus-mesos-exporter-${rev}";
|
||||||
rev = "0.1.0";
|
rev = "0.1.0";
|
||||||
goPackagePath = "github.com/prometheus/mesos_exporter";
|
goPackagePath = "github.com/prometheus/mesos_exporter";
|
||||||
|
@ -25,4 +25,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ goPackages, lib, fetchFromGitHub }:
|
{ goPackages, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-mysqld-exporter-${rev}";
|
name = "prometheus-mysqld-exporter-${rev}";
|
||||||
rev = "0.1.0";
|
rev = "0.1.0";
|
||||||
goPackagePath = "github.com/prometheus/mysqld_exporter";
|
goPackagePath = "github.com/prometheus/mysqld_exporter";
|
||||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, goPackages, fetchFromGitHub }:
|
{ lib, goPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-nginx-exporter-${version}";
|
name = "prometheus-nginx-exporter-${version}";
|
||||||
version = "git-2015-06-01";
|
version = "git-2015-06-01";
|
||||||
goPackagePath = "github.com/discordianfish/nginx_exporter";
|
goPackagePath = "github.com/discordianfish/nginx_exporter";
|
||||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
with goPackages;
|
with goPackages;
|
||||||
|
|
||||||
buildGoPackage rec {
|
let self = buildGoPackage rec {
|
||||||
name = "prometheus-node-exporter-${rev}";
|
name = "prometheus-node-exporter-${rev}";
|
||||||
rev = "0.10.0";
|
rev = "0.10.0";
|
||||||
goPackagePath = "github.com/prometheus/node_exporter";
|
goPackagePath = "github.com/prometheus/node_exporter";
|
||||||
|
@ -30,4 +30,6 @@ buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ goPackages, lib, fetchFromGitHub }:
|
{ goPackages, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prom2json-${rev}";
|
name = "prom2json-${rev}";
|
||||||
rev = "0.1.0";
|
rev = "0.1.0";
|
||||||
goPackagePath = "github.com/prometheus/prom2json";
|
goPackagePath = "github.com/prometheus/prom2json";
|
||||||
|
@ -25,4 +25,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
with goPackages;
|
with goPackages;
|
||||||
|
|
||||||
buildGoPackage rec {
|
let self = buildGoPackage rec {
|
||||||
name = "prometheus-pushgateway-${rev}";
|
name = "prometheus-pushgateway-${rev}";
|
||||||
rev = "0.1.1";
|
rev = "0.1.1";
|
||||||
goPackagePath = "github.com/prometheus/pushgateway";
|
goPackagePath = "github.com/prometheus/pushgateway";
|
||||||
|
@ -15,7 +15,7 @@ buildGoPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
go-bindata
|
go-bindata.bin
|
||||||
protobuf
|
protobuf
|
||||||
httprouter
|
httprouter
|
||||||
golang_protobuf_extensions
|
golang_protobuf_extensions
|
||||||
|
@ -47,4 +47,6 @@ buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
goPackages.buildGoPackage rec {
|
let self = goPackages.buildGoPackage rec {
|
||||||
name = "prometheus-statsd-bridge-${version}";
|
name = "prometheus-statsd-bridge-${version}";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
goPackagePath = "github.com/prometheus/statsd_bridge";
|
goPackagePath = "github.com/prometheus/statsd_bridge";
|
||||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
in self.bin
|
||||||
|
|
Loading…
Reference in a new issue