goPackages: add confd, grafana and vulcand

This commit is contained in:
Jaka Hudoklin 2015-04-25 15:56:31 +02:00
parent 5c41b342d4
commit efe6f06aa4

View file

@ -192,6 +192,20 @@ let self = _self // overrides; _self = with self; {
};
};
confd = buildGoPackage rec {
rev = "v0.9.0";
name = "confd-${rev}";
goPackagePath = "github.com/kelseyhightower/confd";
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
src = fetchFromGitHub {
inherit rev;
owner = "kelseyhightower";
repo = "confd";
sha256 = "0rz533575hdcln8ciqaz79wbnga3czj243g7fz8869db6sa7jwlr";
};
subPackages = [ "./" ];
};
dbus = buildGoPackage rec {
rev = "88765d85c0fdadcd98a54e30694fa4e4f5b51133";
name = "dbus-${stdenv.lib.strings.substring 0 7 rev}";
@ -681,6 +695,20 @@ let self = _self // overrides; _self = with self; {
};
};
grafana = buildGoPackage rec {
version = "2.0.0-beta1";
name = "grafana-v${version}";
goPackagePath = "github.com/grafana/grafana";
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "1b263qj7n72xc5qn0hhrlivqrd0zc8746c9ic11kdxyf81nx4lza";
};
subPackages = [ "./" ];
};
hologram = buildGoPackage rec {
rev = "2bf08f0edee49297358bd06a0c9bf44ba9051e9c";
name = "hologram-${stdenv.lib.strings.substring 0 7 rev}";
@ -1177,6 +1205,20 @@ let self = _self // overrides; _self = with self; {
buildInputs = [ pkgconfig libusb ];
};
vulcand = buildGoPackage rec {
rev = "v0.8.0-beta.3";
name = "vulcand-${rev}";
goPackagePath = "github.com/mailgun/vulcand";
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
src = fetchFromGitHub {
inherit rev;
owner = "mailgun";
repo = "vulcand";
sha256 = "08mal9prwlsav63r972q344zpwqfql6qw6v4ixbn1h3h32kk3ic6";
};
subPackages = [ "./" ];
};
websocket = buildGoPackage rec {
rev = "f4076986b69612ecb8bc7ce06d742eda6286200d";
name = "websocket-${stdenv.lib.strings.substring 0 7 rev}";