From efe6f06aa46d430ef1d78c5700130a2b6262dde6 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Sat, 25 Apr 2015 15:56:31 +0200 Subject: [PATCH] goPackages: add confd, grafana and vulcand --- pkgs/top-level/go-packages.nix | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index 5163d5025ce1..42b73fe612d6 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -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}";