<commit_before>{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:

stdenv.mkDerivation rec {
  pname = "ccze";
  version = "0.2.1-2";

  src = fetchFromGitHub {
    owner = "madhouse";
    repo = "ccze";
    rev = "ccze-${version}";
    hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
  };

  buildInputs = [ autoconf ncurses pcre ];

  preConfigure = "autoheader && autoconf ";

  meta = with lib; {
    description = "Fast, modular log colorizer";
    longDescription = ''
      Fast log colorizer written in C, intended to be a drop-in replacement
      for the Perl colorize tool.  Includes plugins for a variety of log<commit_msg>ccze: move autoconf to nativeBuildInputs<commit_after>{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:

stdenv.mkDerivation rec {
  pname = "ccze";
  version = "0.2.1-2";

  src = fetchFromGitHub {
    owner = "madhouse";
    repo = "ccze";
    rev = "ccze-${version}";
    hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
  };

  nativeBuildInputs = [ autoconf ];

  buildInputs = [ ncurses pcre ];

  preConfigure = ''
    autoheader
    autoconf
  '';

  meta = with lib; {
    description = "Fast, modular log colorizer";
    longDescription = ''
      Fast log colorizer written in C, intended to be a drop-in replacement
      for the Perl colorize tool.  Includes plugins for a variety of log
{'fraction_non_alphanumeric': 0.11240029006526468, 'fraction_numerical': 0.02030456852791878, 'mean_word_length': 3.3125, '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': '5607293', 'n_tokens_mistral': 525, 'n_tokens_neox': 500, 'n_words': 130}