diff --git a/Formula/h/hermes-agent.rb b/Formula/h/hermes-agent.rb index 5633ca0cfed7..d444fc38f0ec 100644 --- a/Formula/h/hermes-agent.rb +++ b/Formula/h/hermes-agent.rb @@ -22,11 +22,6 @@ class HermesAgent < Formula sha256 cellar: :any, x86_64_linux: "62dad23f60f0a785378ef2ea188255a724633e437cd5305ff667643a10a036f2" end - # Support for brew was removed in https://github.com/NousResearch/hermes-agent/pull/68217 - # Formula can not be updated - deprecate! date: "2026-08-03", because: "Upstream does not suppoort brew anymore" - disable! date: "2027-02-03", because: :unmaintained - depends_on "pkgconf" => :build depends_on "rust" => :build depends_on "certifi" => :no_linkage @@ -239,6 +234,14 @@ class HermesAgent < Formula type :backport resolves "https://github.com/sethmlarson/socksio/pull/61" end + + # Workaround for flit-core 4+ + patch do + url "https://github.com/sethmlarson/socksio/commit/504f7e51682b9526d3ecc7ea893338af1fedfb2d.patch?full_index=1" + sha256 "b0c327c4e8fa722669dc372263d735f429015587e02935e2e8cb2b22028c0bfb" + type :unofficial + resolves "https://github.com/sethmlarson/socksio/pull/66" + end end resource "starlette" do