Merge pull request #246968 from otavio/sh-0_12_4

shellhub-agent: 0.12.3 -> 0.12.4
This commit is contained in:
Thiago Kenji Okada 2023-08-03 16:55:12 +00:00 committed by GitHub
commit 38a8ca8217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gitUpdater
, nix-update-script
, makeWrapper
, openssh
, libxcrypt
@ -11,26 +11,23 @@
buildGoModule rec {
pname = "shellhub-agent";
version = "0.12.3";
version = "0.12.4";
src = fetchFromGitHub {
owner = "shellhub-io";
repo = "shellhub";
rev = "v${version}";
hash = "sha256-WKMy2JttXFRcW1yb5aQ6xe8BoSoN65K8Hlmac62+QPc=";
hash = "sha256-OvXbc3feCatyubbRZlaiXvGP59ApyAS0b0Z6SeJsZnE=";
};
modRoot = "./agent";
vendorHash = "sha256-BqzpQcL3U6SIrDW5NfBG0D2zyvv1zNu7uoOBYmKbF4Y=";
vendorHash = "sha256-qQRi4GeepRpYPhE5ftUj01tMCqBh5txbizfkVXmrgOQ=";
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = shellhub-agent;