<commit_before>{ stdenv, fetchgit, rustPlatform, makeWrapper }:

with rustPlatform;

buildRustPackage rec {
  name = "racerd-${version}";
  version = "2016-12-24";
  src = fetchgit {
    url = "git://github.com/jwilm/racerd.git";
    rev = "dc090ea11d550cd513416d21227d558dbfd2fcb6";
    sha256 = "0jfryb1b32m6bn620gd7y670cfipaswj1cppzkybm4xg6abqh07b";
  };

  doCheck = false;

  depsSha256 = "1vv6fyisi11bcajxkq3ihpl59yh504xmnsr222zj15hmivn0jwf2";

  buildInputs = [ makeWrapper ];

  RUST_SRC_PATH = ''${rustPlatform.rust.rustc.src}/src'';

  installPhase = ''
    mkdir -p $out/bin
    cp -p target/release/racerd $out/bin/
    wrapProgram $out/bin/racerd --set RUST_SRC_PATH "$RUST_SRC_PATH"
  '';

  meta = with stdenv.lib; {
    description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs";
    homepage = "https://github.com/jwilm/racerd";
    license = licenses.asl20;
    platforms = platforms.all;
  };
}
<commit_msg>racerd: 2016-12-24 -> 2017-02-17<commit_after>{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:

with rustPlatform;

buildRustPackage rec {
  name = "racerd-${version}";
  version = "2017-02-17";
  src = fetchFromGitHub {
    owner = "jwilm";
    repo = "racerd";
    rev = "e3f3ff010fce2c67195750d9a6a669ffb3c2ac5f";
    sha256 = "125pmbkjnjh83xwikcwfbb8g150nldz7wh0ly1gv9kl1b521dydk";
  };

  doCheck = false;

  depsSha256 = "0db18m0vxzvg821gb5g8njhlnxw7im81m089i4982n8hmnhm1497";

  buildInputs = [ makeWrapper ];

  RUST_SRC_PATH = ''${rustPlatform.rust.rustc.src}/src'';

  installPhase = ''
    mkdir -p $out/bin
    cp -p target/release/racerd $out/bin/
    wrapProgram $out/bin/racerd --set RUST_SRC_PATH "$RUST_SRC_PATH"
  '';

  meta = with stdenv.lib; {
    description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs";
    homepage = "https://github.com/jwilm/racerd";
    license = licenses.asl20;
    platforms = platforms.all;
  };
}

{'fraction_non_alphanumeric': 0.12744090441932168, 'fraction_numerical': 0.0868448098663926, 'mean_word_length': 3.8193069306930694, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7312260', 'n_tokens_mistral': 897, 'n_tokens_neox': 785, 'n_words': 134}