3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #12242 from mayflower/pkg/grafana-2.6.0

grafana: 2.5.0 -> 2.6.0
This commit is contained in:
Arseniy Seroka 2016-01-08 20:21:40 +03:00
commit e22c88303a

View file

@ -1,7 +1,7 @@
{ lib, goPackages, fetchurl, fetchFromGitHub }:
goPackages.buildGoPackage rec {
version = "2.5.0";
version = "2.6.0";
name = "grafana-v${version}";
goPackagePath = "github.com/grafana/grafana";
subPackages = [ "./" ];
@ -10,12 +10,12 @@ goPackages.buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "11m6jvls3gm9z8g27vxmfx84f22vyjff8bllz5lvpdizydry6zar";
sha256 = "160jarvmfvrzpk8agbl44761qz4rw273d59jg6kzd0ghls03wipr";
};
srcStatic = fetchurl {
url = "https://grafanarel.s3.amazonaws.com/builds/grafana-${version}.linux-x64.tar.gz";
sha256 = "1zih0nzlx1sszgc4b5gll4jvsq43ikx782vv991fgy79bb2a5snk";
sha256 = "1i4aw5jvamgqfaanxlh3l83sn8xx10wpihciihvf7s3846s623ab";
};
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";