grafana: 3.1.1 -> 4.0.0

This commit is contained in:
Franz Pletz 2016-12-01 01:33:39 +01:00
parent a0f05feddf
commit fe63e45c08
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,8 +1,8 @@
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
buildGoPackage rec {
version = "3.1.1";
ts = "1470047149";
version = "4.0.0";
ts = "1480439068";
name = "grafana-v${version}";
goPackagePath = "github.com/grafana/grafana";
@ -10,12 +10,12 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "066qypjl9i0yl9jgqxh2fk6m4scrf84sfdl7b1jxgyq3c7zdzyvk";
sha256 = "0ps9bi4mnb3k6g2824crhyb804srk2b4d2j9k306vg0cizirn75c";
};
srcStatic = fetchurl {
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";