<commit_before>{stdenv, fetchurl, curl, dmd, gcc, unzip}:

stdenv.mkDerivation {
  name = "dub-0.9.22";

  src = fetchurl {
    url = "https://github.com/rejectedsoftware/dub/archive/v0.9.22.tar.gz";
    sha256 = "0vhn96ybbsfflldlbyc17rmwb7bz21slbm189k5glyfr9nnp4cir";
  };

  buildInputs = [ unzip curl ];

  propagatedBuildInputs = [ gcc dmd ];

  buildPhase = ''
      # Avoid that the version file is overwritten
      substituteInPlace build.sh \
          --replace source/dub/version_.d /dev/null
      ./build.sh
  '';

  installPhase = ''
      mkdir $out
      mkdir $out/bin
      cp bin/dub $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Build tool for D projects";
    homepage = http://code.dlang.org/;
    license = stdenv.lib.licenses.mit;
    platforms = platforms.unix;
  };
}

<commit_msg>dub update to v0.9.23<commit_after>{stdenv, fetchurl, curl, dmd, gcc, unzip }:

stdenv.mkDerivation {
  name = "dub-0.9.23";

  src = fetchurl {
    url = "https://github.com/D-Programming-Language/dub/archive/v0.9.23.tar.gz";
    sha256 = "7ecbce89c0e48b43705d7c48003394f383556f33562c4b5d884a786cd85814d1";
  };

  buildInputs = [ unzip curl ];

  propagatedBuildInputs = [ gcc dmd ];

  buildPhase = ''
      # Avoid that the version file is overwritten
      substituteInPlace build.sh \
          --replace source/dub/version_.d /dev/null
      ./build.sh
  '';

  installPhase = ''
      mkdir $out
      mkdir $out/bin
      cp bin/dub $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Build tool for D projects";
    homepage = http://code.dlang.org/;
    license = stdenv.lib.licenses.mit;
    platforms = platforms.unix;
  };
}


{'fraction_non_alphanumeric': 0.13373134328358208, 'fraction_numerical': 0.050746268656716415, 'mean_word_length': 2.6198704103671706, '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': '7145979', 'n_tokens_mistral': 684, 'n_tokens_neox': 634, 'n_words': 119}