Cabal-syntax: A library for working with .cabal files

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

This library provides tools for reading and manipulating the .cabal file format.

[Skip to Readme]


Change log
Dependencies array (>= && <0.6), base (>=4.6 && <5), binary (>=0.7 && <0.9), bytestring (>= && <0.12), containers (>= && <0.7), deepseq (>= && <1.5), directory (>=1.2 && <1.4), filepath (>= && <1.5), mtl (>=2.1 && <2.3), parsec (>= && <3.2), pretty (>=1.1.1 && <1.2), text (>= && <1.3 || >=2.0 && <2.1), time (>= && <1.13), transformers (>=0.3 && <0.4 || >= && <0.6), unix (>= && <2.8), Win32 (>= && <2.14) [details]
License BSD-3-Clause
Copyright 2003-2022, Cabal Development Team (see AUTHORS file)
Author Cabal Development Team <>
Category Distribution
Home page
Bug tracker
Source repo head: git clone
Uploaded by MikolajKonarski at 2022-05-31T16:13:10Z



Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Readme for Cabal-syntax-

[back to package description]

The Cabal-syntax package

See the Cabal web site for more information.

The Cabal-syntax package defines the syntax of the .cabal file format and provides tools for parsing .cabal files.

More information

Please see the Cabal web site for the user guide and API documentation. There is additional information available on the development wiki.


Please report bugs and feature requests to Cabal's bug tracker.

Your help

To help Cabal's development, it is enormously helpful to know from Cabal's users what their most pressing problems are with Cabal and Hackage. You may have a favourite Cabal bug or limitation. Look at Cabal's bug tracker. Ensure that the problem is reported there and adequately described. Comment on the issue to report how much of a problem the bug is for you. Subscribe to the issue's notifications to discuss requirements and keep informed on progress. For feature requests, it is helpful if there is a description of how you would expect to interact with the new feature.

Source code

You can get the master development branch using:

$ git clone


See the AUTHORS file.

Authors of the original Cabal specification: