<commit_before>{ stdenv, fetchFromGitHub, zlib, perl }:

stdenv.mkDerivation rec {
  name = "rdkafka-2015-11-03";

  src = fetchFromGitHub {
    owner = "edenhill";
    repo = "librdkafka";
    rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a";
    sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl";
  };

  buildInputs = [ zlib perl ];

  NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";

  postPatch = ''
    patchShebangs .
  '';

  meta = with stdenv.lib; {
    description = "librdkafka - Apache Kafka C/C++ client library";
    homepage = "https://github.com/edenhill/librdkafka";<commit_msg>rdkafka: 2015-11-03 -> 0.9.5<commit_after>{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python }:

stdenv.mkDerivation rec {
  name = "rdkafka-${version}";
  version = "0.9.5";

  src = fetchFromGitHub {
    owner = "edenhill";
    repo = "librdkafka";
    rev = "v${version}";
    sha256 = "0yp8vmj3yc564hcmhx46ssyn8qayywnsrg4wg67qk6jw967qgwsn";
  };

  buildInputs = [ zlib perl pkgconfig python ];

  NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";

  postPatch = ''
    patchShebangs .
  '';

  meta = with stdenv.lib; {
    description = "librdkafka - Apache Kafka C/C++ client library";
    homepage = "https://github.com/edenhill/librdkafka";
{'fraction_non_alphanumeric': 0.13947990543735225, 'fraction_numerical': 0.062253743104806934, 'mean_word_length': 3.7037037037037037, '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': '4432733', 'n_tokens_mistral': 575, 'n_tokens_neox': 529, 'n_words': 83}