diff options
Diffstat (limited to 'pkgs/applications/networking/shellhub-agent/default.nix')
-rw-r--r-- | pkgs/applications/networking/shellhub-agent/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix index 8a6ca39ee3b..7e0ea7e8156 100644 --- a/pkgs/applications/networking/shellhub-agent/default.nix +++ b/pkgs/applications/networking/shellhub-agent/default.nix @@ -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; |