<commit_before>{ lib, stdenv, version, src
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
, prePatch ? ""
, ...
}:

# The celt codec has been deprecated and is now a part of the opus codec

stdenv.mkDerivation {
  pname = "celt";
  inherit version;

  inherit src;

  inherit prePatch;

  buildInputs = []
    ++ lib.optional liboggSupport libogg;

  doCheck = false; # fails

  meta = with lib; {
    description = "Ultra-low delay audio codec";
    homepage    = "http://www.celt-codec.org/";
    license     = licenses.bsd2;
    maintainers = with maintainers; [ codyopel raskin ];
    platforms   = platforms.unix;
  };
}<commit_msg>celt: update homepage<commit_after>{ lib, stdenv, version, src
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
, prePatch ? ""
, ...
}:

# The celt codec has been deprecated and is now a part of the opus codec

stdenv.mkDerivation {
  pname = "celt";
  inherit version;

  inherit src;

  inherit prePatch;

  buildInputs = []
    ++ lib.optional liboggSupport libogg;

  doCheck = false; # fails

  meta = with lib; {
    description = "Ultra-low delay audio codec";
    homepage    = "https://gitlab.xiph.org/xiph/celt"; # http://www.celt-codec.org/ is gone
    license     = licenses.bsd2;
    maintainers = with maintainers; [ codyopel raskin ];
    platforms   = platforms.unix;
  };
}
{'fraction_non_alphanumeric': 0.11373390557939914, 'fraction_numerical': 0.001430615164520744, 'mean_word_length': 3.055072463768116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '4430344', 'n_tokens_mistral': 476, 'n_tokens_neox': 453, 'n_words': 141}