<commit_before># This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  version = "1.0.0";
  pname = "envdir";

  goPackagePath = "github.com/d10n/envdir";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "d10n";
    repo = "envdir";
    sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
  };

  preBuild = ''
   # TODO: is there a way to get the commit ref so we can set main.buildCommit?
    buildFlagsArray+=("-ldflags" "-X main.buildDate=1970-01-01T00:00:00+0000 -X main.buildVersion=${version}")
'';

  meta = {
    description = "A go rewrite of envdir";
    homepage = "https://github.com/d10n/envdir";
    maintainers = with lib.maintainers; [ edude03 ];
  };
}<commit_msg>envdir-go: buildFlagsArray -> ldflags<commit_after># This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  version = "1.0.0";
  pname = "envdir";

  goPackagePath = "github.com/d10n/envdir";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "d10n";
    repo = "envdir";
    sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
  };

  # TODO: is there a way to get the commit ref so we can set main.buildCommit?
  ldflags = [
    "-X main.buildDate=1970-01-01T00:00:00+0000" "-X main.buildVersion=${version}"
  ];

  meta = {
    description = "A go rewrite of envdir";
    homepage = "https://github.com/d10n/envdir";
    maintainers = with lib.maintainers; [ edude03 ];
  };
}
{'fraction_non_alphanumeric': 0.1453045685279188, 'fraction_numerical': 0.06091370558375635, 'mean_word_length': 3.571014492753623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5200757', 'n_tokens_mistral': 664, 'n_tokens_neox': 608, 'n_words': 127}