Skip to content

Add Homebrew formula for structkit - #1

Merged
httpdss merged 5 commits into
mainfrom
cursor/homebrew-tap-formula-226f
Aug 23, 2026
Merged

Add Homebrew formula for structkit#1
httpdss merged 5 commits into
mainfrom
cursor/homebrew-tap-formula-226f

Conversation

@httpdss

@httpdss httpdss commented Aug 23, 2026

Copy link
Copy Markdown
Owner

This PR implements a complete Homebrew tap so users can install structkit via:

brew tap httpdss/structkit
brew install structkit

Changes

Formula (Formula/structkit.rb)

  • Installs structkit 3.2.1 from PyPI
  • SHA256: 7dcdce6debf3522dff61814a6cc80e60450a9b33c1a24f7bfb88b7ce663cf22c (verified)
  • License: Apache-2.0 (matches GitHub repo, not PyPI's MIT label)
  • Homepage: https://structkit.app
  • Includes all required Python dependencies as resources with verified URLs and hashes
  • Uses Homebrew's virtualenv_install_with_resources pattern
  • Dependencies: libsodium (for pynacl), python@3.12

README

  • Installation instructions (brew tap + brew install)
  • Usage examples
  • Detailed version bump guide with:
    • How to download and verify SHA256 for new releases
    • Steps to test locally
    • How to check for new dependencies
    • Example resource block format

CI/CD (.github/workflows/formula-check.yml)

  • Runs on push/PR when Formula changes
  • brew audit --strict --online structkit (by name, not path)
  • brew style structkit (by name, not path)
  • Trailing whitespace check
  • Lightweight alternative to test-bot
  • Uses pinned actions (checkout@v7, setup-homebrew@1f8e202)

Testing

The formula has been validated:

  • ✅ No trailing whitespace
  • ✅ SHA256 hash verified from PyPI
  • ✅ All dependencies from structkit 3.2.1 included with correct URLs
  • ✅ License matches source (Apache-2.0)
  • ✅ CI workflow passing: brew audit --strict --online
  • ✅ Style check passing: brew style

Ready to merge

Once merged, users can immediately:

brew tap httpdss/structkit
brew install structkit

No bottles are included in v1 (can add later if needed).

Open in Web Open in Cursor 

cursoragent and others added 5 commits August 23, 2026 20:05
- Create Formula/structkit.rb with Python resources
- Install from PyPI package structkit 3.2.1
- Include all required dependencies
- Update README with installation and maintenance instructions
- Add GitHub Action for formula validation
- No trailing whitespace

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
- Update actions/checkout to v7 (Node 20 deprecation fix)
- Pin setup-homebrew to 1f8e202ffddf94def7f42f6fa3a482e821489f9c
- Tap local repository before audit/style checks
- Use brew audit by name (structkit) not path
- Use brew style by name (structkit) not path

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
setup-homebrew action already handles tapping the repository,
so the manual tap step causes a remote mismatch error

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
Several resource URLs were returning 404 errors. Updated with
correct URLs and SHA256 hashes fetched directly from PyPI API:
- openai 1.54.5
- PyGithub 2.5.0
- pydantic-ai-slim 0.0.14
- fastmcp 2.4.0
- charset-normalizer 3.4.0
- pydantic-core 2.27.1

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
- Use PyPI source URL format for main package
- Add libsodium dependency (required by pynacl)

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
@httpdss
httpdss merged commit 6b3b380 into main Aug 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants