anchor.diff: -{ lib, buildGoPackage, fetchFromGitHub, go-bindata, installShellFiles }:
  +{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
   let
  -  goPackagePath = "k8s.io/kops";
  -
     generic = { version, sha256, rev ? version, ... }@attrs:
       let attrs' = builtins.removeAttrs attrs [ "version" "sha256" "rev" ]; in
  -    buildGoPackage
  +    buildGoModule
         {
           pname = "kops";
           inherit version;
  -
  -        inherit goPackagePath;
   
           src = fetchFromGitHub {
             rev = rev;
  
positive.code:       } // attrs';
  in
  rec {
  
    mkKops = generic;
  
    kops_1_21 = mkKops rec {
  
negative.code:           inherit sha256;
          };
  
          vendorSha256 = null;
  
          nativeBuildInputs = [ installShellFiles ];
  
          subPackages = [ "cmd/kops" ];
  
          ldflags = [
            "-s"
            "-w"
            "-X k8s.io/kops.Version=${version}"
            "-X k8s.io/kops.GitVersion=${version}"
          ];
  
          doCheck = false;
  
          postInstall = ''
            installShellCompletion --cmd kops \
              --bash <($GOPATH/bin/kops completion bash) \
              --fish <($GOPATH/bin/kops completion fish) \
              --zsh <($GOPATH/bin/kops completion zsh)
          '';
  
          meta = with lib; {
  