<commit_before>{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "dockfmt";
  version = "0.3.3";

  src = fetchFromGitHub {
    owner = "jessfraz";
    repo = "dockfmt";
    rev = "v${version}";
    sha256 = "0m56ydmf7zbcsa5yym7j5fgr75v677h9s40zyzwrqccyq01myp06";
  };

  vendorSha256 = null;

  meta = with lib; {
    description = "Dockerfile format";
    homepage = "https://github.com/jessfraz/dockfmt";
    license = [ licenses.mit ];
    maintainers = [ maintainers.cpcloud ];
  };
}<commit_msg>dockfmt: add version information<commit_after>{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "dockfmt";
  version = "0.3.3";

  src = fetchFromGitHub {
    owner = "jessfraz";
    repo = "dockfmt";
    rev = "v${version}";
    sha256 = "0m56ydmf7zbcsa5yym7j5fgr75v677h9s40zyzwrqccyq01myp06";
  };

  vendorSha256 = null;

  ldflags = [
    "-w"
    "-s"
    "-X github.com/jessfraz/dockfmt/version.VERSION=${version}"
  ];

  meta = with lib; {
    description = "Dockerfile format";
    homepage = "https://github.com/jessfraz/dockfmt";
    license = [ licenses.mit ];
    maintainers = [ maintainers.cpcloud ];
  };
}
{'fraction_non_alphanumeric': 0.14602903501280956, 'fraction_numerical': 0.04782237403928266, 'mean_word_length': 3.293040293040293, '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': '3736905', 'n_tokens_mistral': 498, 'n_tokens_neox': 453, 'n_words': 76}