Package Info

ghc-Cabal-syntax


A library for working with .cabal files


Unspecified

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

Version 3.6 (unlike the following versions) is a dummy package that prevents module name clases between Cabal and Cabal-syntax if used together with a Cabal flag as described below.

In Cabal-3.7 this package was split off. To avoid module name clashes, you can add this to your .cabal file:

> flag Cabal-syntax > description: Use the new Cabal-syntax package > default: False > manual: False > > library > -- ... > if flag(Cabal-syntax) > build-depends: Cabal-syntax >= 3.7 > else > build-depends: Cabal < 3.7, Cabal-syntax < 3.7

This will default to the older build, but will allow consumers to opt-in to the newer libraries by requiring Cabal or Cabal-syntax >= 3.7.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/Cabal-syntax

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
3.6.0.0-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-Cabal-syntax
  • ghc-Cabal-syntax-devel
3.6.0.0-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-Cabal-syntax
  • ghc-Cabal-syntax-devel
3.6.0.0-bp154.1.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-Cabal-syntax
  • ghc-Cabal-syntax-devel