<commit_before>{ fetchzip }:

{ owner, repo, rev, name ? "source"
, ... # For hash agility
}@args: fetchzip ({
  inherit name;
  url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
  meta.homepage = "https://bitbucket.org/${owner}/${repo}/";
  extraPostFetch = ''rm -f "$out"/.hg_archival.txt''; # impure file; see #12002
} // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; }<commit_msg>fetchFromBitbucket: remove hack for Mercurial<commit_after>{ fetchzip }:

{ owner, repo, rev, name ? "source"
, ... # For hash agility
}@args: fetchzip ({
  inherit name;
  url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
  meta.homepage = "https://bitbucket.org/${owner}/${repo}/";
} // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; }
{'fraction_non_alphanumeric': 0.23145780051150894, 'fraction_numerical': 0.00639386189258312, 'mean_word_length': 3.8633540372670807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4814516', 'n_tokens_mistral': 282, 'n_tokens_neox': 283, 'n_words': 62}