prometheus-mesos-exporter: Fix misplaced dependencies

goPackages.mesos-stats doesn't actually have any dependencies of its
own; the mesos_exporter app does.
This commit is contained in:
Benjamin Staffin 2015-05-30 11:50:59 -07:00
parent 1cc014fdae
commit c40c1be798
2 changed files with 5 additions and 3 deletions

View File

@ -12,7 +12,11 @@ goPackages.buildGoPackage rec {
sha256 = "059az73j717gd960g4jigrxnvqrjh9jw1c324xpwaafa0bf10llm";
};
buildInputs = [ goPackages.mesos-stats ];
buildInputs = [
goPackages.mesos-stats
goPackages.prometheus.client_golang
goPackages.glog
];
meta = with lib; {
description = "Export Mesos metrics to Prometheus";

View File

@ -1674,8 +1674,6 @@ let
repo = "mesos_stats";
sha256 = "18ggyjf4nyn77gkn16wg9krp4dsphgzdgcr3mdflv6mvbr482ar4";
};
propagatedBuildInputs = [ prometheus.client_golang glog ];
};
mgo = buildGoPackage rec {