diff --git a/Formula/protobuf-swift.rb b/Formula/protobuf-swift.rb index 4755f02f9b..7f5b6c78fa 100644 --- a/Formula/protobuf-swift.rb +++ b/Formula/protobuf-swift.rb @@ -1,9 +1,8 @@ class ProtobufSwift < Formula desc "Implementation of Protocol Buffers in Swift" homepage "https://github.com/alexeyxo/protobuf-swift" - url "https://github.com/alexeyxo/protobuf-swift/archive/3.0.22.tar.gz" - sha256 "3d24391b0e91c0bf665aa045b99279300b6ebaaf0aff18a273b5f39aabcd3700" - revision 1 + url "https://github.com/alexeyxo/protobuf-swift/archive/3.0.23.tar.gz" + sha256 "276ed362c440ebcfe258b1ccf38160983ec518a29855f35c0bf38b4a5fd38068" bottle do cellar :any @@ -15,10 +14,7 @@ class ProtobufSwift < Formula depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build - - # Upstream issue "protobuf 3.4.0 build failure" - # Reported 16 Aug 2017 https://github.com/alexeyxo/protobuf-swift/issues/217 - depends_on "protobuf@3.1" + depends_on "protobuf" def install system "protoc", "-Iplugin/compiler", @@ -44,6 +40,6 @@ class ProtobufSwift < Formula } EOS (testpath/"test.proto").write(testdata) - system Formula["protobuf@3.1"].opt_bin/"protoc", "test.proto", "--swift_out=." + system Formula["protobuf"].opt_bin/"protoc", "test.proto", "--swift_out=." end end