From ef8d146274a32fd3ee0158d8d810d0a5139b5712 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Wed, 30 Oct 2019 02:14:46 +0900 Subject: [PATCH] sensu-go: 5.11.0 -> 5.14.1 --- pkgs/servers/monitoring/sensu-go/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/monitoring/sensu-go/default.nix b/pkgs/servers/monitoring/sensu-go/default.nix index 4bb46693b469..a4e2b1eb313c 100644 --- a/pkgs/servers/monitoring/sensu-go/default.nix +++ b/pkgs/servers/monitoring/sensu-go/default.nix @@ -1,23 +1,25 @@ -{ buildGoPackage, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, lib }: let generic = { subPackages, pname, postInstall ? "" }: - buildGoPackage rec { + buildGoModule rec { inherit pname; - version = "5.11.0"; - shortRev = "dd8f160"; # for internal version info + version = "5.14.1"; + shortRev = "1f6d16b"; # for internal version info goPackagePath = "github.com/sensu/sensu-go"; src = fetchFromGitHub { owner = "sensu"; repo = "sensu-go"; - rev = version; - sha256 = "05dx0nxcjl6fy68br2a37j52iz71kvqnqp29swcif2nwvq7w8mxx"; + rev = "v${version}"; + sha256 = "1fhvw2hrn2zqpz3ypsx6i1zrn83pdifvsyzpbhzxmff6l9a290bq"; }; inherit subPackages postInstall; + modSha256 = "0c0cj0ylhifyb7l9kjmgdlfzcz8528fzw8kr3c5y7j5h6pih06sy"; + buildFlagsArray = let versionPkg = "github.com/sensu/sensu-go/version"; in ''