<commit_before>{ stdenv, fetchgit, autoreconfHook, openssl, libpcap, dpdk, bash }:

stdenv.mkDerivation rec {
  name = "odp-dpdk-${version}";
  version = "1.10.1.0";

  src = fetchgit {
    url = "https://git.linaro.org/lng/odp-dpdk.git";
    rev = "0ed1ced007d98980f90604675083bf30c354e867";
    sha256 = "1kf090bizr0p0cxn525qpmypb5j86imvxrfpmwbl7vqqfh74j5ax";
  };

  nativeBuildInputs = [ autoreconfHook bash ];
  buildInputs = [ stdenv openssl dpdk libpcap ];

  RTE_SDK = "${dpdk}";
  RTE_TARGET = "x86_64-native-linuxapp-gcc";

  patchPhase = ''
    substituteInPlace scripts/git_hash.sh --replace /bin/bash /bin/sh
    substituteInPlace scripts/get_impl_str.sh --replace /bin/bash /bin/sh
    echo -n ${version} > .scmversion
  '';

  dontDisableStatic = true;

  configureFlags = [
    "--with-platform=linux-dpdk"
    "--disable-shared"
    "--with-sdk-install-path=${dpdk}/${RTE_TARGET}"
  ];

  meta = with stdenv.lib; {
    description = "Open Data Plane optimized for DPDK";
    homepage = http://www.opendataplane.org;
    license = licenses.bsd3;
    platforms =  [ "x86_64-linux" ];
    maintainers = [ maintainers.abuibrahim ];
  };
}
<commit_msg>odp-dpdk: 10.10.1.0 -> 2016-08-16<commit_after>{ stdenv, fetchgit, autoreconfHook, openssl, libpcap, dpdk }:

stdenv.mkDerivation rec {
  name = "odp-dpdk-${version}";
  version = "2016-08-16";

  src = fetchgit {
    url = "https://git.linaro.org/lng/odp-dpdk.git";
    rev = "7068593f600e2b5a23ee1780d5c722c54e966df1";
    sha256 = "0pz0zkxqaac193x21wmj3x88gfza6bvhmv5yf8fzkpm9zxnl2sy4";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ openssl dpdk libpcap ];

  RTE_SDK = "${dpdk}";
  RTE_TARGET = "x86_64-native-linuxapp-gcc";

  patchPhase = ''
    substituteInPlace scripts/git_hash.sh --replace /bin/bash /bin/sh
    substituteInPlace scripts/get_impl_str.sh --replace /bin/bash /bin/sh
    echo -n ${version} > .scmversion
  '';

  dontDisableStatic = true;

  configureFlags = [
    "--with-platform=linux-dpdk"
    "--disable-shared"
    "--with-sdk-install-path=${dpdk}/${RTE_TARGET}"
  ];

  meta = with stdenv.lib; {
    description = "Open Data Plane optimized for DPDK";
    homepage = http://www.opendataplane.org;
    license = licenses.bsd3;
    platforms =  [ "x86_64-linux" ];
    maintainers = [ maintainers.abuibrahim ];
  };
}

{'fraction_non_alphanumeric': 0.14965694682675815, 'fraction_numerical': 0.060034305317324184, 'mean_word_length': 3.377110694183865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '6709303', 'n_tokens_mistral': 1020, 'n_tokens_neox': 922, 'n_words': 145}