ghc-hpack
Tools for an alternative Haskell package format
Hpack is a format for Haskell packages. It is an alternative to the Cabal package format and follows different design principles. Hpack packages are described in a file named package.yaml
. Both cabal2nix
and stack
support package.yaml
natively. For other build tools the hpack
executable can be used to generate a .cabal
file from package.yaml
.
- Versions: 0.35.2
- Website: https://github.com/sol/hpack#readme
- Licenses: Expat
- Package source: gnu/packages/haskell-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of ghc-hpack
as follows:
guix install ghc-hpack
Or install a particular version:
guix install ghc-hpack@0.35.2
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.
Badge code
You can use the following badge to inform users of ghc-hpack about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/ghc-hpack'><img src='https://packages.guix.gnu.org/packages/ghc-hpack/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/ghc-hpack)
Example Org:
[[https://packages.guix.gnu.org/packages/ghc-hpack][https://packages.guix.gnu.org/packages/ghc-hpack/badges/latest-version.svg]]