hpack

An alternative format for Haskell packages

https://github.com/sol/hpack#readme

Version on this page:0.18.1@rev:1
LTS Haskell 17.11:0.34.4
Stackage Nightly 2021-05-10:0.34.4
Latest on Hackage:0.34.4

See all snapshots hpack appears in

MIT licensed
Maintained by Simon Hengel
This version can be pinned in stack with:hpack-0.18.1@sha256:5d0709cd873b86b1f3f34b648cb34ec88094000b3e5ca640868d94ac8aea70a4,2574

Module documentation for 0.18.1

Changes

next

  • Output generated cabal file to stdout when - is given as a command-line option (see #113)
  • Recognize .chs, .y, .ly and .x as Haskell modules when inferring modules for

Change in 0.18.0

  • Make executable a shortcut of executables: { package-name: ... }
  • Add support for ghcjs-options and js-sources (see #161)
  • Allow license-file to be a list
  • Accept input file on command-line (see #106)
  • Add Paths_* when no modules are specified (see #86)

Changes in 0.17.1

  • Do not descend into irrelevant directories when inferring modules (see #165)

Changes in 0.17.0

  • Added custom-setup section
  • Add support for !include directives

Changes in 0.16.0

  • Warn when name is missing
  • Support globs in c-sources
  • Use binary I/O for cabal files avoiding problems with non-UTF-8 locales
  • Fix rendering of . as directory (cabal syntax issue)