hpack
« Back to VersTracker
Description:
Modern format for Haskell packages
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: haskell package-manager build-tools yaml cabal
Install: brew install hpack
About:
Hpack is a modern configuration format and tool for Haskell packages that generates Cabal files from a simpler YAML or JSON format. It provides a more intuitive and maintainable way to define package dependencies, metadata, and build configurations. This tool eliminates the verbosity and complexity often associated with traditional Cabal files.
Key Features:
  • Generates Cabal files from YAML or JSON
  • Simplifies dependency specification
  • Supports conditionals and common fields
  • Integrates seamlessly with Cabal and Stack
Use Cases:
  • Managing Haskell package dependencies with a simpler syntax
  • Automating Cabal file generation in build pipelines
  • Improving readability and maintainability of package configurations
Alternatives:
  • Cabal – Hpack generates Cabal files, whereas Cabal uses its native format directly; Hpack offers a more concise syntax.
Version History
Detected Version Rev Change Commit
Sep 13, 2025 9:50am 0 VERSION_BUMP 3cecc3d6
Sep 13, 2024 9:44pm 0 VERSION_BUMP f38796aa