grafana: 3.0.1 -> 3.1.0 (#17084)

This commit is contained in:
cransom 2016-07-18 18:14:40 -04:00 committed by Franz Pletz
parent 50b690fd03
commit 07fe6fa90e

View File

@ -1,7 +1,8 @@
{ lib, buildGoPackage, fetchurl, fetchFromGitHub }:
buildGoPackage rec {
version = "3.0.1";
version = "3.1.0";
ts = "1468321182";
name = "grafana-v${version}";
goPackagePath = "github.com/grafana/grafana";
@ -9,12 +10,12 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "1zykgf8xq7m040d4yljcbz23gh8ppaqnxj50ncj1cjyi5k88i3i9";
sha256 = "1p3qp3p4wsb7m2lvdcrc1wz5mxqwqsj5xfqp28hkbfdqh3lblh42";
};
srcStatic = fetchurl {
url = "https://grafanarel.s3.amazonaws.com/builds/grafana-${version}-.linux-x64.tar.gz";
sha256 = "14wq2cbf4djnwbbyfbhnwmwqpfh5g4yp1dckg5zzf2109ymkjrqd";
url = "https://grafanarel.s3.amazonaws.com/builds/grafana-${version}-${ts}.linux-x64.tar.gz";
sha256 = "174w0bx5cqriy77dyk9xsnmdskykzmgbyjczwb5kkp6j8vp7b0fs";
};
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";