|
1 | 1 | class Tenere < Formula |
2 | 2 | desc "TUI interface for LLMs written in Rust" |
3 | 3 | homepage "https://github.com/pythops/tenere" |
4 | | - url "https://github.com/pythops/tenere/archive/refs/tags/v0.11.2.tar.gz" |
5 | | - sha256 "865c9b041faf935545dbb9753b33a8ff09bf4bfd8917d25ca93f5dc0c0cac114" |
| 4 | + url "https://github.com/pythops/tenere/archive/refs/tags/v0.11.3.tar.gz" |
| 5 | + sha256 "3605fcdff3dbd5d153ed6126e98274994bd00ed83a2a1f5587058d75797257a8" |
6 | 6 | license "GPL-3.0-or-later" |
7 | | - revision 1 |
8 | 7 |
|
9 | 8 | bottle do |
10 | | - rebuild 1 |
11 | | - sha256 cellar: :any, arm64_sequoia: "27ab0ab6d18b6c5e4d0e7edad7c2543d158804ec027a5604158419416b876a60" |
12 | | - sha256 cellar: :any, arm64_sonoma: "0960f90c6ae608d04793ddb91503109803974b8f3590006655b1d39c411eea59" |
13 | | - sha256 cellar: :any, arm64_ventura: "aa38fea42e6d5ff2a657d1abbea38712522561bb44a236f0bf2021e4538425fb" |
14 | | - sha256 cellar: :any, sonoma: "34cfde676da9db9d63b7d9e153ec5e8da89da08fc49ac53fc0ee99c6034fa9d4" |
15 | | - sha256 cellar: :any, ventura: "d928aa81de543a995db52ee06343ea3eeda83027e95e83b392caa9058d40e232" |
16 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "90d3fdf2c27e17cb7d24eebc464b5ee2e909193feb891cfde67fce4bace506ad" |
17 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "670e6af5f665d27ba5c502aa245ee64175d561c63af071fa7988129c10d25e2f" |
| 9 | + sha256 cellar: :any, arm64_sequoia: "0ef20facf1138986f008cd6fd4b7f0f4ee847c47f8e0f253471044d468222a14" |
| 10 | + sha256 cellar: :any, arm64_sonoma: "0a7a2b4307ec2afb07dcb5c766c81d7a1454d3d0b668e69e4dc8de25e0f051b5" |
| 11 | + sha256 cellar: :any, arm64_ventura: "f1d6be5362295a0be1bf0e3d2c5e1a89f64f3e14521619e4ddcfef824a1f0af1" |
| 12 | + sha256 cellar: :any, sonoma: "17cde7da4a41e034a6fa20dcbfb8db9091cd6ee05b4b7fb35ad612b3bc061be7" |
| 13 | + sha256 cellar: :any, ventura: "3cc90383070bf3d7a567028c64914ce022e8d5a9f55c57b7119c07f512902d4c" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "6ca836b19fd554f3f8e871363dfbe25ea82ceb2016d2209c9f622d49bddbc37d" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "2ac1b9027c10ec8262887b680068256db66ce69499ea85d2eff4d7814031e07a" |
18 | 16 | end |
19 | 17 |
|
20 | 18 | depends_on "pkgconf" => :build |
21 | 19 | depends_on "rust" => :build |
| 20 | + |
22 | 21 | depends_on "oniguruma" |
23 | 22 |
|
24 | 23 | uses_from_macos "zlib" |
25 | 24 |
|
26 | 25 | def install |
27 | | - # TODO: ENV["LIBGIT2_NO_VENDOR"] = "1" |
28 | | - libgit2_version = File.read("Cargo.lock")[/name = "libgit2-sys"\nversion = "(.+)\+(.+)"/, 2] |
29 | | - odie "Unbundled libgit2 as now using #{libgit2_version}!" if Version.new(libgit2_version) >= "1.8" |
30 | | - |
| 26 | + ENV["LIBGIT2_NO_VENDOR"] = "1" |
31 | 27 | ENV["RUSTONIG_SYSTEM_LIBONIG"] = "1" |
32 | 28 |
|
33 | 29 | system "cargo", "install", *std_cargo_args |
|
0 commit comments