<commit_before>class Nss < Formula
  desc "Libraries for security-enabled client and server applications"
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_34_RTM/src/nss-3.34.tar.gz"
  sha256 "0d45954181373023c7cfc33e77c8c636d394ec7e55b93e059149ed7888652af5"

  bottle do
    cellar :any
    sha256 "9525cb470a55f3170e17a1dbf9bd957ba202e2f835ba655999e6c954111cd436" => :high_sierra
    sha256 "7a589946f94f56e17f821b8315cc43bf4407d6a36f4c093fa38d33f8e76b70b1" => :sierra
    sha256 "131247ea7f020d621628336f13633661b1734e8435c4bdbdc7b4a37d61a95e21" => :el_capitan
  end

  keg_only <<~EOS
    Firefox can pick this up instead of the built-in library, resulting in
    random crashes without meaningful explanation.

    Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details
  EOS

  depends_on "nspr"
  unless OS.mac?
    depends_on "sqlite"
    depends_on "zlib"
  end

  def install
    ENV.deparallelize
    cd "nss"

    args = %W[
      BUILD_OPT=1
      NSS_USE_SYSTEM_SQLITE=1
      NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr
      NSPR_LIB_DIR=#{Formula["nspr"].opt_lib}
    ]<commit_msg>nss: update 3.34 bottle for Linuxbrew.<commit_after>class Nss < Formula
  desc "Libraries for security-enabled client and server applications"
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_34_RTM/src/nss-3.34.tar.gz"
  sha256 "0d45954181373023c7cfc33e77c8c636d394ec7e55b93e059149ed7888652af5"

  bottle do
    cellar :any
    sha256 "9525cb470a55f3170e17a1dbf9bd957ba202e2f835ba655999e6c954111cd436" => :high_sierra
    sha256 "7a589946f94f56e17f821b8315cc43bf4407d6a36f4c093fa38d33f8e76b70b1" => :sierra
    sha256 "131247ea7f020d621628336f13633661b1734e8435c4bdbdc7b4a37d61a95e21" => :el_capitan
    sha256 "1f3de5a8ef7a349f8881b65c1158bb4bcb982be43bc757ad3d6676dc25ca1d04" => :x86_64_linux
  end

  keg_only <<~EOS
    Firefox can pick this up instead of the built-in library, resulting in
    random crashes without meaningful explanation.

    Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details
  EOS

  depends_on "nspr"
  unless OS.mac?
    depends_on "sqlite"
    depends_on "zlib"
  end

  def install
    ENV.deparallelize
    cd "nss"

    args = %W[
      BUILD_OPT=1
      NSS_USE_SYSTEM_SQLITE=1
      NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr
      NSPR_LIB_DIR=#{Formula["nspr"].opt_lib}
    ]
{'fraction_non_alphanumeric': 0.08532695374800638, 'fraction_numerical': 0.18221690590111642, 'mean_word_length': 4.4543478260869565, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '6835627', 'n_tokens_mistral': 1310, 'n_tokens_neox': 1049, 'n_words': 160}