anchor.diff:      cp ${buildShell "${src}/gitsrht-shell"}/bin/gitsrht-shell $out/bin/gitsrht-shell
       cp ${buildDispatcher "${src}/gitsrht-dispatch"}/bin/gitsrht-dispatch $out/bin/gitsrht-dispatch
       cp ${buildKeys "${src}/gitsrht-keys"}/bin/gitsrht-keys $out/bin/gitsrht-keys
  -    cp ${buildUpdateHook "${src}/gitsrht-update-hook"}/bin/gitsrht-update-hook $out/bin/gitsrht-update-hook
  -    cp ${buildAPI "${src}/api"}/bin/api $out/bin/gitsrht-api
  +    cp ${updateHook}/bin/gitsrht-update-hook $out/bin/gitsrht-update-hook
     '';
  -
  -  dontUseSetuptoolsCheck = true;
  +  passthru = {
  +    inherit updateHook;
  +  };
   
     meta = with lib; {
       homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht";
  
positive.code: { lib, fetchgit, buildPythonPackage
  , buildGoModule
  , srht, minio, pygit2, scmsrht }:
  
  let
    version = "0.61.10";
  
    buildShell = src: buildGoModule {
      inherit src version;
      pname = "gitsrht-shell";
      vendorSha256 = "1abyv2s5l3bs0iylpgyj3jri2hh1iy8fiadxm7g6l2vl58h0b9ba";
    };
  
    buildDispatcher = src: buildGoModule {
      inherit src version;
      pname = "gitsrht-dispatcher";
      vendorSha256 = "1lzkf13m54pq0gnn3bcxc80nfg76hgck4l8q8jpaicrsiwgcyrd9";
    };
  
    buildKeys = src: buildGoModule {
  
negative.code:     vendorSha256 = "0fwzqpjv8x5y3w3bfjd0x0cvqjjak23m0zj88hf32jpw49xmjkih";
    };
  
    updateHook = buildUpdateHook "${src}/gitsrht-update-hook";
  
  in
  buildPythonPackage rec {
    inherit src version;
    pname = "gitsrht";
  
    nativeBuildInputs = srht.nativeBuildInputs;
  
    propagatedBuildInputs = [
      srht
      pygit2
      scmsrht
    ];
  
    preBuild = ''
      export PKGVER=${version}
      export SRHT_PATH=${srht}/${python.sitePackages}/srht
    '';
  
    postInstall = ''
  