<commit_before>{ stdenv, fetchurl, writeText, lib, dmd }:

stdenv.mkDerivation {
  name = "rdmd-2.064";

  src = fetchurl {
    url = https://raw2.github.com/D-Programming-Language/tools/2.064/rdmd.d;
    sha256 = "0b1g3ng6bkanvg00r6xb4ycpbh9x8b9dw589av665azxbcraqrs1";
    name = "rdmd-src";
  };

  buildInputs = [ dmd ];

  builder = writeText "drmd-builder.sh" ''
      source $stdenv/setup
      cp $src rdmd.d
      dmd rdmd.d
      mkdir -p $out/bin
      cp rdmd $out/bin/
  '';

  meta = {
    description = "Wrapper for D language compiler";
    homepage = http://dlang.org/rdmd.html;
    license = lib.licenses.boost;
    maintainers = with stdenv.lib.maintainers; [ vlstill ];
    platforms = stdenv.lib.platforms.unix;
  };
}<commit_msg>rdmd: update to new version<commit_after>{stdenv, lib, fetchgit, dmd}:

stdenv.mkDerivation {
  name = "rdmd-20141113";

  buildInputs = [ dmd ];

  src = fetchgit {
    url = git://github.com/D-Programming-Language/tools.git;
    rev = "f496c68ee4e776597bd7382aa47f05da698a69e";
    sha256 = "0vbhmz8nbh8ayml4vad0239kfg982vqfyqqrjv6wrlnjah97n5ms";
  };

  buildPhase = ''
    dmd rdmd.d
  '';

  installPhase = ''
    mkdir -p $out/bin
    cp rdmd $out/bin/
	'';

  meta = {
    description = "Wrapper for D language compiler";
    homepage = http://dlang.org/rdmd.html;
    license = lib.licenses.boost;
    platforms = stdenv.lib.platforms.unix;
  };
}
{'fraction_non_alphanumeric': 0.13736654804270462, 'fraction_numerical': 0.05765124555160142, 'mean_word_length': 2.949438202247191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5385204', 'n_tokens_mistral': 621, 'n_tokens_neox': 566, 'n_words': 96}