mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
grafana: 4.5.2 -> 4.6.0
This commit is contained in:
parent
000b68c226
commit
49e88fbd37
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
|
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
version = "4.5.2";
|
version = "4.6.0";
|
||||||
name = "grafana-v${version}";
|
name = "grafana-v${version}";
|
||||||
goPackagePath = "github.com/grafana/grafana";
|
goPackagePath = "github.com/grafana/grafana";
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@ buildGoPackage rec {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "grafana";
|
repo = "grafana";
|
||||||
sha256 = "1sgrnk90hn99c1xq49al5n76j2qqfi7sjc6r2fr00gd7mxzbh1mg";
|
sha256 = "0z3981xnx97d1gn6w31kc066kyqksacdjmxbbrsczwn7mprkv6ij";
|
||||||
};
|
};
|
||||||
|
|
||||||
srcStatic = fetchurl {
|
srcStatic = fetchurl {
|
||||||
url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-x64.tar.gz";
|
url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-x64.tar.gz";
|
||||||
sha256 = "19l1abq8qklhsqq1z4mi08c9z139b8gfyay7pwp4xmjxfzpsff64";
|
sha256 = "14sk3rb29aa8qfskb1x9lmisn038a7v0rz5jr6x0m21rzc11ripa";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
|
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
|
||||||
|
|
Loading…
Reference in a new issue