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

with rustPlatform;

buildRustPackage rec {
  name = "racerd-${version}";
  version = "0.1.1";
  src = fetchgit {
    url = "git://github.com/jwilm/racerd.git";
    rev = "dcbb7885e84eb5e2fbb2072e185701ad1abbd93a";
    sha256 = "0qm0hpvxba632av355mj1wqd616zjvi0qy045np7mi746m0bbqwh";
  };

  doCheck = false;

  depsSha256 = "0ca0lc8mm8kczll5m03n5fwsr0540c2xbfi4nn9ksn0s4sap50yn";

  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>rust  racerd: 0.1.1 -> 2016-08-23<commit_after>{ stdenv, fetchgit, rustPlatform, makeWrapper }:

with rustPlatform;

buildRustPackage rec {
  name = "racerd-${version}";
  version = "2016-08-23";
  src = fetchgit {
    url = "git://github.com/jwilm/racerd.git";
    rev = "5d685ed26ba812a1afe892a8c0d12eb6abbeeb3d";
    sha256 = "1ww96nc00l8p28rnln31n92x0mp2p5jnaqh2nwc8xi3r559p1y5i";
  };

  doCheck = false;

  depsSha256 = "13vkabr6bbl2nairxpn3lhqxcr3larasjk03r4hzrn7ff7sy40h2";

  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.12998446400828587, 'fraction_numerical': 0.08026929052304506, 'mean_word_length': 3.794044665012407, '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': '362468', 'n_tokens_mistral': 874, 'n_tokens_neox': 790, 'n_words': 133}