<commit_before>{ stdenv, fetchurl, libevent }:

stdenv.mkDerivation rec {
  name = "trickle-1.07";

  src = fetchurl {
    url = "http://monkey.org/~marius/trickle/${name}.tar.gz";
    sha256 = "0s1qq3k5mpcs9i7ng0l9fvr1f75abpbzfi1jaf3zpzbs1dz50dlx";
  };

  buildInputs = [libevent];

  preConfigure = ''
    sed -i 's|libevent.a|libevent.so|' configure
  '';

  preBuild = ''
    sed -i '/#define in_addr_t/ s:^://:' config.h
  '';

  LDFLAGS = "-levent";

  configureFlags = "--with-libevent";

  meta = {
    description = "Lightweight userspace bandwidth shaper";
    license = stdenv.lib.licenses.bsd3;
    homepage = http://monkey.org/~marius/pages/?page=trickle;
    platforms = stdenv.lib.platforms.linux;
  };
}<commit_msg>trickle: turn off format hardening<commit_after>{ stdenv, fetchurl, libevent }:

stdenv.mkDerivation rec {
  name = "trickle-1.07";

  src = fetchurl {
    url = "http://monkey.org/~marius/trickle/${name}.tar.gz";
    sha256 = "0s1qq3k5mpcs9i7ng0l9fvr1f75abpbzfi1jaf3zpzbs1dz50dlx";
  };

  buildInputs = [ libevent ];

  preConfigure = ''
    sed -i 's|libevent.a|libevent.so|' configure
  '';

  preBuild = ''
    sed -i '/#define in_addr_t/ s:^://:' config.h
  '';

  LDFLAGS = "-levent";

  configureFlags = "--with-libevent";

  hardening_format = false;

  meta = {
    description = "Lightweight userspace bandwidth shaper";
    license = stdenv.lib.licenses.bsd3;
    homepage = http://monkey.org/~marius/pages/?page=trickle;
    platforms = stdenv.lib.platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.1616094986807388, 'fraction_numerical': 0.030343007915567283, 'mean_word_length': 3.346704871060172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2637832', 'n_tokens_mistral': 635, 'n_tokens_neox': 604, 'n_words': 94}