<commit_before>require 'formula'

class Nimrod < Formula
  homepage "http://nimrod-lang.org/"

  stable do
    url "http://nimrod-lang.org/download/nimrod_0.9.6.zip"
    sha1 "a0be99cd67ca2283c6cf076bb7edee74d2f32dc5"

    # This patch fixes an OS X-specific codegen issue.
    # See http://github.com/Araq/Nimrod/issues/1701
    patch :DATA
  end

  head "https://github.com/Araq/Nimrod.git", :branch => "devel"

  def install
    # For some reason the mingw variable doesn't get passed through,<commit_msg>nimrod: add 0.9.6 bottle.<commit_after>require 'formula'

class Nimrod < Formula
  homepage "http://nimrod-lang.org/"

  stable do
    url "http://nimrod-lang.org/download/nimrod_0.9.6.zip"
    sha1 "a0be99cd67ca2283c6cf076bb7edee74d2f32dc5"

    # This patch fixes an OS X-specific codegen issue.
    # See http://github.com/Araq/Nimrod/issues/1701
    patch :DATA
  end

  head "https://github.com/Araq/Nimrod.git", :branch => "devel"

  bottle do
    cellar :any
    sha1 "3a42be18ae05f497900cba5ba484314c68f62aa1" => :yosemite
    sha1 "f30db501f57632a4872c0dde84a02ff326b58adb" => :mavericks
    sha1 "af153261facdba0a6be325296e82b7c5707ebac6" => :mountain_lion
  end

  def install
    # For some reason the mingw variable doesn't get passed through,
{'fraction_non_alphanumeric': 0.10917721518987342, 'fraction_numerical': 0.10522151898734178, 'mean_word_length': 3.6336996336996337, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '5362789', 'n_tokens_mistral': 573, 'n_tokens_neox': 504, 'n_words': 100}