<commit_before>{ stdenv, lib, fetchFromGitHub, elixir, erlang }:

stdenv.mkDerivation {
  pname = "mix2nix";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "ydlr";
    repo = "mix2nix";
    rev = "b153a252f0689d3f6919e16c2df2fb3b6bcc9d2a";
    sha256 = "15wyz7gdjywsqvsf1ad9gklvqsqi7lwgmyks3bjlc2sk6kpdxdmi";
  };

  buildInputs = [ elixir erlang ];

  buildPhase = "mix escript.build";
  installPhase = "install -Dt $out/bin mix2nix";

  meta = with lib; {
    description = "Generate nix expressions from mix.lock file.";
    license = licenses.mit;
    maintainers = with maintainers; [ ydlr ] ++ teams.beam.members;
  };
}<commit_msg>bump to newest mix2nix version and move elixir to nativeBuildInputs<commit_after>{ stdenv, lib, fetchFromGitHub, elixir, erlang }:

stdenv.mkDerivation {
  pname = "mix2nix";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "ydlr";
    repo = "mix2nix";
    rev = "66c277bdffb93da9a63e3f1ea42432a73e572b51";
    sha256 = "11qn80im5zfbx25ibxqrgi90mglf8pnsmrqsami633mcf2gvj2hy";
  };

  nativeBuildInputs = [ elixir ];
  buildInputs = [ erlang ];

  buildPhase = "mix escript.build";
  installPhase = "install -Dt $out/bin mix2nix";

  meta = with lib; {
    description = "Generate nix expressions from mix.lock file.";
    license = licenses.mit;
    maintainers = with maintainers; [ ydlr ] ++ teams.beam.members;
  };
}
{'fraction_non_alphanumeric': 0.12147505422993492, 'fraction_numerical': 0.0650759219088937, 'mean_word_length': 3.8055555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1448065', 'n_tokens_mistral': 601, 'n_tokens_neox': 544, 'n_words': 108}