<commit_before>{ stdenv, fetchurl, pkgconfig, ptlib, srtp, libtheora, speex
, ffmpeg, x264, cyrus_sasl, openldap, openssl, expat, unixODBC }:

stdenv.mkDerivation rec {
  name = "opal-3.10.10";

  src = fetchurl {
    url = "mirror://gnome/sources/opal/3.10/${name}.tar.xz";
    sha256 = "f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864";
  };

  buildInputs = [ pkgconfig ptlib srtp libtheora speex
                  ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
  propagatedBuildInputs = [ speex ]; 

  configureFlags = [ "--enable-h323" ];

  enableParallelBuilding = true;

  NIX_CFLAGS = "-D__STDC_CONSTANT_MACROS=1";

  patches = [ ./disable-samples-ftbfs.diff ./libav9.patch ./libav10.patch ];
      
  meta = with stdenv.lib; {
    description = "VoIP library";
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
  };

  passthru = {
    updateInfo = {
      downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
    };
  };
}<commit_msg>opal: NIX_CFLAGS -> NIX_CFLAGS_COMPILE<commit_after>{ stdenv, fetchurl, pkgconfig, ptlib, srtp, libtheora, speex
, ffmpeg, x264, cyrus_sasl, openldap, openssl, expat, unixODBC }:

stdenv.mkDerivation rec {
  name = "opal-3.10.10";

  src = fetchurl {
    url = "mirror://gnome/sources/opal/3.10/${name}.tar.xz";
    sha256 = "f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864";
  };

  buildInputs = [ pkgconfig ptlib srtp libtheora speex
                  ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
  propagatedBuildInputs = [ speex ]; 

  configureFlags = [ "--enable-h323" ];

  enableParallelBuilding = true;

  NIX_CFLAGS_COMPILE = "-D__STDC_CONSTANT_MACROS=1";

  patches = [ ./disable-samples-ftbfs.diff ./libav9.patch ./libav10.patch ];
      
  meta = with stdenv.lib; {
    description = "VoIP library";
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
  };

  passthru = {
    updateInfo = {
      downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
    };
  };
}
{'fraction_non_alphanumeric': 0.13141182217879824, 'fraction_numerical': 0.0635075720566683, 'mean_word_length': 3.311578947368421, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7476589', 'n_tokens_mistral': 892, 'n_tokens_neox': 791, 'n_words': 130}