···1{ lib, buildGoModule, fetchFromGitHub }:
23# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
4-let rev = "6f9e27f1795f10475c9f6f5decdff692e1e228da";
05in
6buildGoModule rec {
7 pname = "sonobuoy";
···26 vendorHash = "sha256-HE53eIEyhOI9ksEx1EKmv/txaTa7KDrNUMEVRMi4Wuo=";
2728 subPackages = [ "." ];
00002930 meta = with lib; {
31 description = "Diagnostic tool that makes it easier to understand the state of a Kubernetes cluster";
···1{ lib, buildGoModule, fetchFromGitHub }:
23# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
4+# The update script can update this automatically, the comment is used to find the line.
5+let rev = "6f9e27f1795f10475c9f6f5decdff692e1e228da"; # update-commit-sha
6in
7buildGoModule rec {
8 pname = "sonobuoy";
···27 vendorHash = "sha256-HE53eIEyhOI9ksEx1EKmv/txaTa7KDrNUMEVRMi4Wuo=";
2829 subPackages = [ "." ];
30+31+ passthru = {
32+ updateScript = ./update.sh;
33+ };
3435 meta = with lib; {
36 description = "Diagnostic tool that makes it easier to understand the state of a Kubernetes cluster";