<commit_before>{ stdenv, fetchurl, pkgconfig, varnish, python, docutils }:

stdenv.mkDerivation rec {
  version = "1.2.0";
  name = "varnish-rtstatus-${version}";

  src = fetchurl {
    url = "https://download.varnish-software.com/libvmod-rtstatus/libvmod-rtstatus-${version}.tar.gz";
    sha256 = "0hll1aspgpv1daw5sdbn5w1d6birchxgapzb6zi1nhahjlimy4ly";
  };

  nativeBuildInputs = [ pkgconfig docutils ];
  buildInputs = [ varnish python ];
  configureFlags = [ "VMOD_DIR=$(out)/lib/varnish/vmods" ];

  meta = with stdenv.lib; {
    description = "Varnish realtime status page";
    homepage = https://github.com/varnish/libvmod-rtstatus;
    inherit (varnish.meta) license platforms maintainers;
  };
}
<commit_msg>mark varnish-rtstatus broken (it has not ported to varnish 5.2 yet)<commit_after>{ stdenv, fetchurl, pkgconfig, varnish, python, docutils }:

stdenv.mkDerivation rec {
  version = "1.2.0";
  name = "varnish-rtstatus-${version}";

  src = fetchurl {
    url = "https://download.varnish-software.com/libvmod-rtstatus/libvmod-rtstatus-${version}.tar.gz";
    sha256 = "0hll1aspgpv1daw5sdbn5w1d6birchxgapzb6zi1nhahjlimy4ly";
  };

  nativeBuildInputs = [ pkgconfig docutils ];
  buildInputs = [ varnish python ];
  configureFlags = [ "VMOD_DIR=$(out)/lib/varnish/vmods" ];

  meta = with stdenv.lib; {
    description = "Varnish realtime status page";
    homepage = https://github.com/varnish/libvmod-rtstatus;
    inherit (varnish.meta) license platforms maintainers;
    broken = true; # it has not ported to varnish 5.2 yet (5.1 is ok)
  };
}

{'fraction_non_alphanumeric': 0.13636363636363635, 'fraction_numerical': 0.024327784891165175, 'mean_word_length': 4.107843137254902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7228276', 'n_tokens_mistral': 616, 'n_tokens_neox': 586, 'n_words': 107}