<commit_before>class KnotResolver < Formula
  desc "Minimalistic, caching, DNSSEC-validating DNS resolver"
  homepage "https://www.knot-resolver.cz"
  url "https://secure.nic.cz/files/knot-resolver/knot-resolver-1.5.2.tar.xz"
  sha256 "39f35856eafbce886390e45d94045b1aee7a98af8d3888bdce215fa2222c5f78"
  head "https://gitlab.labs.nic.cz/knot/knot-resolver.git"

  bottle do
    sha256 "d7b7a604a0ee3a7fec1a0ef1e536ab3e394d020bc19b9023b11eff189c3e9334" => :high_sierra
    sha256 "6fe36804813586bbcb69a79e1a5d01c80bd9bc7fe0e15807b7c4eaa8b810411e" => :sierra
    sha256 "c8f23465cda07d22948f5c99410f08259fcfdd42796ac0f4405186e6866ccd5c" => :el_capitan
  end

  option "without-nettle", "Compile without DNS cookies support"
  option "with-hiredis", "Compile with Redis cache storage support"
  option "with-libmemcached", "Compile with memcached cache storage support"

  depends_on "cmocka" => :build
  depends_on "pkg-config" => :build
  depends_on "gnutls"
  depends_on "knot"
  depends_on "luajit"
  depends_on "libuv"
  depends_on "lmdb"
  depends_on "nettle" => :recommended
  depends_on "hiredis" => :optional
  depends_on "libmemcached" => :optional

  def install<commit_msg>knot-resolver 2.0.0<commit_after>class KnotResolver < Formula
  desc "Minimalistic, caching, DNSSEC-validating DNS resolver"
  homepage "https://www.knot-resolver.cz"
  url "https://secure.nic.cz/files/knot-resolver/knot-resolver-2.0.0.tar.xz"
  sha256 "b40d9dbef05031464dfff57712f476e7cddc0fda26b41daf660c5a33ea203ce0"
  head "https://gitlab.labs.nic.cz/knot/knot-resolver.git"

  bottle do
    sha256 "d7b7a604a0ee3a7fec1a0ef1e536ab3e394d020bc19b9023b11eff189c3e9334" => :high_sierra
    sha256 "6fe36804813586bbcb69a79e1a5d01c80bd9bc7fe0e15807b7c4eaa8b810411e" => :sierra
    sha256 "c8f23465cda07d22948f5c99410f08259fcfdd42796ac0f4405186e6866ccd5c" => :el_capitan
  end

  option "without-nettle", "Compile without DNS cookies support"
  option "with-hiredis", "Compile with Redis cache storage support"
  option "with-libmemcached", "Compile with memcached cache storage support"

  depends_on "cmocka" => :build
  depends_on "pkg-config" => :build
  depends_on "gnutls"
  depends_on "knot"
  depends_on "luajit"
  depends_on "libuv"
  depends_on "lmdb"
  depends_on "nettle" => :recommended
  depends_on "hiredis" => :optional
  depends_on "libmemcached" => :optional

  def install
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.14472573839662448, 'mean_word_length': 5.56786703601108, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 6, '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': '2938283', 'n_tokens_mistral': 1173, 'n_tokens_neox': 1004, 'n_words': 158}