mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
29 lines
872 B
Plaintext
29 lines
872 B
Plaintext
class Openhuman < Formula
|
|
desc "AI-powered personal assistant for communities"
|
|
homepage "https://github.com/tinyhumansai/openhuman"
|
|
url "https://github.com/tinyhumansai/openhuman/archive/refs/tags/v@VERSION@.tar.gz"
|
|
sha256 "@SOURCE_SHA256@"
|
|
license "GPL-3.0-only"
|
|
head "https://github.com/tinyhumansai/openhuman.git", branch: "main"
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "pkgconf" => :build
|
|
depends_on "rust" => :build
|
|
|
|
on_linux do
|
|
depends_on "openssl@3"
|
|
end
|
|
|
|
def install
|
|
ENV["OPENSSL_NO_VENDOR"] = "1" if OS.linux?
|
|
|
|
system "cargo", "install", "--bin", "openhuman-core", *std_cargo_args
|
|
bin.install_symlink "openhuman-core" => "openhuman"
|
|
end
|
|
|
|
test do
|
|
assert_match "OpenHuman core CLI", shell_output("#{bin}/openhuman --help")
|
|
assert_match "OpenHuman core CLI", shell_output("#{bin}/openhuman-core --help")
|
|
end
|
|
end
|