···11{ lib, buildGoModule, fetchFromGitHub }:
2233# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
44-let rev = "6f9e27f1795f10475c9f6f5decdff692e1e228da";
44+# The update script can update this automatically, the comment is used to find the line.
55+let rev = "6f9e27f1795f10475c9f6f5decdff692e1e228da"; # update-commit-sha
56in
67buildGoModule rec {
78 pname = "sonobuoy";
···2627 vendorHash = "sha256-HE53eIEyhOI9ksEx1EKmv/txaTa7KDrNUMEVRMi4Wuo=";
27282829 subPackages = [ "." ];
3030+3131+ passthru = {
3232+ updateScript = ./update.sh;
3333+ };
29343035 meta = with lib; {
3136 description = "Diagnostic tool that makes it easier to understand the state of a Kubernetes cluster";