Provides the Expat XML 1.0 parser via Homebrew, enabling XML parsing in command-line tools and applications.
# Source: https://github.com/tinyhumansai/homebrew-core | License: BSD-2-Clause | Copyright 2009-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
class Expat < Formula
desc "XML 1.0 parser"
homepage "https://libexpat.github.io/"
url "https://github.com/libexpat/libexpat/releases/download/R_2_8_2/expat-2.8.2.tar.xz"
sha256 "3ad89b8588e6644bd4e49981480d48b21289eebbcd4f0a1a4afb1c29f99b6ab4"
license "MIT"
compatibility_version 1
livecheck do
url :stable
regex(/^\D*?(\d+(?:[._]\d+)*)$/i)
strategy :github_latest do |json, regex|
json["tag_name"]&.scan(regex)&.map { |match| match[0].tr("_", ".") }
end
end
bottle do
sha256 cellar: :any, arm64_tahoe: "3ecc6426673654a1fe37465241c15bfe7ffd4bd46fea72992dff50e
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key