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 }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-alertmanager-${rev}";
|
||||
rev = "0.0.4";
|
||||
goPackagePath = "github.com/prometheus/alertmanager";
|
||||
|
@ -13,7 +13,7 @@ goPackages.buildGoPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [
|
||||
goPackages.protobuf
|
||||
goPackages.protobuf.bin
|
||||
goPackages.fsnotify.v0
|
||||
goPackages.httprouter
|
||||
goPackages.prometheus.client_golang
|
||||
|
@ -51,4 +51,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-cli-${rev}";
|
||||
rev = "0.3.0";
|
||||
goPackagePath = "github.com/prometheus/prometheus_cli";
|
||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ goPackages, lib, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-collectd-exporter-${rev}";
|
||||
rev = "0.1.0";
|
||||
goPackagePath = "github.com/prometheus/collectd_exporter";
|
||||
|
@ -21,4 +21,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, goPackages, fetchFromGitHub, }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-haproxy-exporter-0.4.0";
|
||||
goPackagePath = "github.com/prometheus/haproxy_exporter";
|
||||
|
||||
|
@ -20,4 +20,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-mesos-exporter-${rev}";
|
||||
rev = "0.1.0";
|
||||
goPackagePath = "github.com/prometheus/mesos_exporter";
|
||||
|
@ -25,4 +25,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ goPackages, lib, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-mysqld-exporter-${rev}";
|
||||
rev = "0.1.0";
|
||||
goPackagePath = "github.com/prometheus/mysqld_exporter";
|
||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-nginx-exporter-${version}";
|
||||
version = "git-2015-06-01";
|
||||
goPackagePath = "github.com/discordianfish/nginx_exporter";
|
||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
let self = buildGoPackage rec {
|
||||
name = "prometheus-node-exporter-${rev}";
|
||||
rev = "0.10.0";
|
||||
goPackagePath = "github.com/prometheus/node_exporter";
|
||||
|
@ -30,4 +30,6 @@ buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ goPackages, lib, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prom2json-${rev}";
|
||||
rev = "0.1.0";
|
||||
goPackagePath = "github.com/prometheus/prom2json";
|
||||
|
@ -25,4 +25,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
let self = buildGoPackage rec {
|
||||
name = "prometheus-pushgateway-${rev}";
|
||||
rev = "0.1.1";
|
||||
goPackagePath = "github.com/prometheus/pushgateway";
|
||||
|
@ -15,7 +15,7 @@ buildGoPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [
|
||||
go-bindata
|
||||
go-bindata.bin
|
||||
protobuf
|
||||
httprouter
|
||||
golang_protobuf_extensions
|
||||
|
@ -47,4 +47,6 @@ buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
let self = goPackages.buildGoPackage rec {
|
||||
name = "prometheus-statsd-bridge-${version}";
|
||||
version = "0.1.0";
|
||||
goPackagePath = "github.com/prometheus/statsd_bridge";
|
||||
|
@ -24,4 +24,6 @@ goPackages.buildGoPackage rec {
|
|||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
in self.bin
|
||||
|
|
Loading…
Reference in a new issue