Merge pull request #220584 from otavio/upgrade-sh
shellhub-agent: 0.10.8 -> 0.11.6
This commit is contained in:
commit
5a1b842e24
@ -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}" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user