# Homebrew Tap
#
# Setup:
#   1. Create repo: github.com/jcazako/homebrew-tap
#   2. Add this file as Formula/llm-pentest.rb
#   3. Update the url and sha256 after each release
#
# Users install with:
#   brew tap jcazako/tap
#   brew install llm-pentest

class LlmPentest < Formula
  desc "Security testing toolkit for LLM-based systems"
  homepage "https://github.com/jcazako/llm-pentest"
  url "https://github.com/jcazako/llm-pentest/archive/refs/tags/v0.1.0.tar.gz"
  sha256 "UPDATE_AFTER_RELEASE"
  license "MIT"

  depends_on "python@3.12"

  def install
    virtualenv_install_with_resources
  end

  test do
    assert_match "Security testing toolkit", shell_output("#{bin}/llm-pentest --help")
  end
end
