anchor.diff:      fetchzip ({
         inherit name;
         url = "${baseUrl}/archive/${rev}.tar.gz";
  -      meta.homepage = "${baseUrl}/";
       } // lib.optionalAttrs private {
         netrcPhase = ''
           if [ -z "''$${varBase}USERNAME" -o -z "''$${varBase}PASSWORD" ]; then
  
positive.code:     baseUrl = "https://${githubBase}/${owner}/${repo}";
      passthruAttrs = removeAttrs args [ "owner" "repo" "rev" "fetchSubmodules" "private" "githubBase" "varPrefix" ];
      varBase = "NIX${if varPrefix == null then "" else "_${varPrefix}"}_GITHUB_PRIVATE_";
    in if fetchSubmodules then
      fetchgit ({
        inherit name rev fetchSubmodules;
        url = "${baseUrl}.git";
  
negative.code:         EOF
        '';
        netrcImpureEnvVars = [ "${varBase}USERNAME" "${varBase}PASSWORD" ];
      } // passthruAttrs) // { inherit rev; })
    // { meta.homepage = baseUrl; };
  
    fetchFromBitbucket = {
      owner, repo, rev, name ? gitRepoToName repo rev,
  