anchor.diff:  { buildGoModule, fetchFromGitHub, lib }:
   
   let
  -  generic = { subPackages, pname, postInstall ? "" }:
  +  generic = { subPackages, pname, postInstall ? "", mainProgram }:
       buildGoModule rec {
         inherit pname;
         version = "6.4.1";
  
positive.code:       ) > ''${!outputBin}/share/zsh/site-functions/_sensuctl
  
      '';
    };
  
    sensu-go-backend = generic {
      pname = "sensu-go-backend";
      subPackages = [ "cmd/sensu-backend" ];
    };
  
    sensu-go-agent = generic {
      pname = "sensu-go-agent";
      subPackages = [ "cmd/sensu-agent" ];
    };
  }
  
negative.code:       ];
  
        meta = {
          inherit mainProgram;
          homepage = "https://sensu.io";
          description = "Open source monitoring tool for ephemeral infrastructure & distributed applications";
          license = lib.licenses.mit;
  