grafana: 3.1.1 -> 4.0.0
This commit is contained in:
parent
a0f05feddf
commit
fe63e45c08
@ -1,8 +1,8 @@
|
|||||||
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
|
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
version = "3.1.1";
|
version = "4.0.0";
|
||||||
ts = "1470047149";
|
ts = "1480439068";
|
||||||
name = "grafana-v${version}";
|
name = "grafana-v${version}";
|
||||||
goPackagePath = "github.com/grafana/grafana";
|
goPackagePath = "github.com/grafana/grafana";
|
||||||
|
|
||||||
@ -10,12 +10,12 @@ buildGoPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "grafana";
|
repo = "grafana";
|
||||||
sha256 = "066qypjl9i0yl9jgqxh2fk6m4scrf84sfdl7b1jxgyq3c7zdzyvk";
|
sha256 = "0ps9bi4mnb3k6g2824crhyb804srk2b4d2j9k306vg0cizirn75c";
|
||||||
};
|
};
|
||||||
|
|
||||||
srcStatic = fetchurl {
|
srcStatic = fetchurl {
|
||||||
url = "https://grafanarel.s3.amazonaws.com/builds/grafana-${version}-${ts}.linux-x64.tar.gz";
|
url = "https://grafanarel.s3.amazonaws.com/builds/grafana-${version}-${ts}.linux-x64.tar.gz";
|
||||||
sha256 = "0zywijk9lg7pzql28r8vswyjixkljfjznbqy7lp5wlq1mmihmxr0";
|
sha256 = "10n3vmmyr1rvq29r5cz1rwz60smavj6fahz4vaqldh1v0qyqzjlm";
|
||||||
};
|
};
|
||||||
|
|
||||||
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 New Issue
Block a user