diff --git a/Formula/flow.rb b/Formula/flow.rb index e2ef367e94..a7caf50d31 100644 --- a/Formula/flow.rb +++ b/Formula/flow.rb @@ -1,10 +1,21 @@ class Flow < Formula desc "Static type checker for JavaScript" homepage "https://flowtype.org/" - url "https://github.com/facebook/flow/archive/v0.72.0.tar.gz" - sha256 "82468fe78308785b958f85f931899e0a703df65b8cc4ce1184c301f274f7fc84" head "https://github.com/facebook/flow.git" + stable do + url "https://github.com/facebook/flow/archive/v0.73.0.tar.gz" + sha256 "cfef40febb8db41a8d3c7f8d3da27e5ecbcda59d87a91d76e31d460c064c723c" + + # Fix compilation with OCaml 4.06 (again - we did this for 0.68 too) + # Can delete with v0.74.0 deploy + # Upstream commit 24 May 2018 "Fix lwt type annotation for OCaml 4.06" + patch do + url "https://github.com/facebook/flow/commit/6ad707a.patch?full_index=1" + sha256 "d21a5325e0b56b884a71178388c08da7712be894090b2a940012cd8a69673ff8" + end + end + bottle do cellar :any_skip_relocation sha256 "222162737c080f0ed67b758e0f20d98e5769d231ea680b31f0b3e7828ff86949" => :high_sierra