<commit_before>require "formula"

class Nss < Formula
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_18_1_RTM/src/nss-3.18.1.tar.gz"
  sha256 "10d005ca1b143a8b77032a169c595d06cf42d16d54809558ea30f1ffe73fef70"

  bottle do
    cellar :any
    sha256 "8a8a16cc041f0ac6ca32694e87a4b6afdb438fa5d2582a742113206afbc715a5" => :yosemite
    sha256 "7995fd4c349960e6a79a5ffb5753a8fe8a3b67376ad28c912939ca11217e7f33" => :mavericks
    sha256 "a98cf147b9f0ed5af35bd28a9995bc0138b54a6f8d027b6d682319a73b7e2d85" => :mountain_lion
  end

  keg_only <<-EOS.undent
    Having this library symlinked makes Firefox pick it up instead of built-in,
    so it then randomly crashes without meaningful explanation.

    Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details.<commit_msg>nss: update 3.18.1 bottle.<commit_after>require "formula"

class Nss < Formula
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_18_1_RTM/src/nss-3.18.1.tar.gz"
  sha256 "10d005ca1b143a8b77032a169c595d06cf42d16d54809558ea30f1ffe73fef70"

  bottle do
    cellar :any
    sha256 "b695188f43a14e11312286afd84d8647facdebd6542cf8e643810adf837d2cb7" => :yosemite
    sha256 "ff313a36ae22abfba86517dcd5ff07886843a48a31baf310c42b5ae3a5d5374c" => :mavericks
    sha256 "d4257e78909753e789468c0d047c8c51c98330d3d58ed9c6a059b750964ddfef" => :mountain_lion
  end

  keg_only <<-EOS.undent
    Having this library symlinked makes Firefox pick it up instead of built-in,
    so it then randomly crashes without meaningful explanation.

    Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details.
{'fraction_non_alphanumeric': 0.0836676217765043, 'fraction_numerical': 0.22063037249283668, 'mean_word_length': 5.349090909090909, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '2678634', 'n_tokens_mistral': 962, 'n_tokens_neox': 747, 'n_words': 106}