<commit_before>{ stdenv, fetchurl, pkgconfig, autoreconfHook, commoncpp2, ccrtp, openssl, boost
, libsndfile, libxml2, libjpeg, readline, qt3, perl, file
, alsaLib, speex, libzrtpcpp, xorg }:

stdenv.mkDerivation rec {
  name = "twinkle-1.4.2";

  src = fetchurl {
    url = "http://www.xs4all.nl/~mfnboer/twinkle/download/${name}.tar.gz";
    sha256 = "19c9gqam78srsgv0463g7lfnv4mn5lvbxx3zl87bnm0vmk3qcxl0";
  };

  patches = [ # all from Debian
    ./newer-libccrtp.diff
    ./libgsm.patch
    ./localetime_r_conflict.diff
    ./boost_regex.patch # modified not to use "-mt" suffix
  ];

  configureFlags = "--with-extra-includes=${libjpeg}/include";

  buildInputs =
    [ pkgconfig autoreconfHook commoncpp2 openssl boost libsndfile
      libxml2 libjpeg readline qt3 perl file
      # optional ? :
      alsaLib speex
      libzrtpcpp xorg.libX11 xorg.libXaw xorg.libICE xorg.libXext
    ];

  NIX_CFLAGS_LINK = "-Wl,--as-needed -lboost_regex -lasound -lzrtpcpp -lspeex -lspeexdsp";

  #enableParallelBuilding = true; # fatal error: messageform.h: No such file or directory

  meta = with stdenv.lib; {
    homepage = http://www.twinklephone.com/;
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.marcweber ];
    platforms = platforms.linux;
  };
}
<commit_msg>twinkle: Add missing ccrtp dependency<commit_after>{ stdenv, fetchurl, pkgconfig, autoreconfHook, commoncpp2, ccrtp, openssl, boost
, libsndfile, libxml2, libjpeg, readline, qt3, perl, file
, alsaLib, speex, libzrtpcpp, xorg }:

stdenv.mkDerivation rec {
  name = "twinkle-1.4.2";

  src = fetchurl {
    url = "http://www.xs4all.nl/~mfnboer/twinkle/download/${name}.tar.gz";
    sha256 = "19c9gqam78srsgv0463g7lfnv4mn5lvbxx3zl87bnm0vmk3qcxl0";
  };

  patches = [ # all from Debian
    ./newer-libccrtp.diff
    ./libgsm.patch
    ./localetime_r_conflict.diff
    ./boost_regex.patch # modified not to use "-mt" suffix
  ];

  configureFlags = "--with-extra-includes=${libjpeg}/include";

  buildInputs =
    [ pkgconfig autoreconfHook commoncpp2 openssl boost libsndfile
      libxml2 libjpeg readline qt3 perl file ccrtp
      # optional ? :
      alsaLib speex
      libzrtpcpp xorg.libX11 xorg.libXaw xorg.libICE xorg.libXext
    ];

  NIX_CFLAGS_LINK = "-Wl,--as-needed -lboost_regex -lasound -lzrtpcpp -lspeex -lspeexdsp";

  #enableParallelBuilding = true; # fatal error: messageform.h: No such file or directory

  meta = with stdenv.lib; {
    homepage = http://www.twinklephone.com/;
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.marcweber ];
    platforms = platforms.linux;
  };
}

{'fraction_non_alphanumeric': 0.11825885978428351, 'fraction_numerical': 0.026194144838212634, 'mean_word_length': 3.4621993127147768, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4154312', 'n_tokens_mistral': 1028, 'n_tokens_neox': 979, 'n_words': 195}