<commit_before>{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gofu";
  version = "unstable-2021-09-11";

  src = fetchFromGitHub {
    owner = "majewsky";
    repo = pname;
    rev = "cb398f58a5cb4f3e858fe60e84debde6ab58f7c8";
    sha256 = "sha256-R8Pr8SyLeoTaYKKV+PzHDPi1/RY4j7pkUbW8kE4ydBU=";
  };

  vendorSha256 = null;

  subPackages = [ "." ];

  meta = with lib; {
    description = "Multibinary containing several utilities";
    homepage = "https://github.com/majewsky/gofu";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}<commit_msg>gofu: create symlinks to applets<commit_after>{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gofu";
  version = "unstable-2021-09-11";

  src = fetchFromGitHub {
    owner = "majewsky";
    repo = pname;
    rev = "cb398f58a5cb4f3e858fe60e84debde6ab58f7c8";
    sha256 = "sha256-R8Pr8SyLeoTaYKKV+PzHDPi1/RY4j7pkUbW8kE4ydBU=";
  };

  vendorSha256 = null;

  subPackages = [ "." ];

  postInstall = ''
    ln -s $out/bin/gofu $out/bin/rtree
    ln -s $out/bin/gofu $out/bin/prettyprompt
  '';

  meta = with lib; {
    description = "Multibinary containing several utilities";
    homepage = "https://github.com/majewsky/gofu";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}
{'fraction_non_alphanumeric': 0.13084795321637427, 'fraction_numerical': 0.07163742690058479, 'mean_word_length': 3.5939597315436242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6801476', 'n_tokens_mistral': 621, 'n_tokens_neox': 551, 'n_words': 91}