Merge pull request #220584 from otavio/upgrade-sh

shellhub-agent: 0.10.8 -> 0.11.6
This commit is contained in:
Nick Cao 2023-03-11 15:30:06 +08:00 committed by GitHub
commit 5a1b842e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ lib { lib
, buildGoModule , buildGo120Module
, fetchFromGitHub , fetchFromGitHub
, gitUpdater , gitUpdater
, makeWrapper , makeWrapper
@ -7,20 +7,20 @@
, libxcrypt , libxcrypt
}: }:
buildGoModule rec { buildGo120Module rec {
pname = "shellhub-agent"; pname = "shellhub-agent";
version = "0.10.8"; version = "0.11.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shellhub-io"; owner = "shellhub-io";
repo = "shellhub"; repo = "shellhub";
rev = "v${version}"; rev = "v${version}";
sha256 = "BtD22Ss5PuVx2RVLQIsUeGBJBl5lh1XHJ0vcM2bOEwk="; sha256 = "eZLQzy3lWwGM6VWFbsJ6JuGC+/dZnoymZgNtM8CPBM4=";
}; };
modRoot = "./agent"; modRoot = "./agent";
vendorSha256 = "sha256-tvKiTQioj999oIUDHUSXTMXOh/LKoykzu8JEUnrelws="; vendorSha256 = "sha256-7kDPo24I58Nh7OiHj6Zy40jAEaXSOmbcczkgJPXBItU=";
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ]; ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];