cabal-fix-0.0.0.1: cabal-fix.cabal
cabal-version: 3.0
name: cabal-fix
version: 0.0.0.1
license: BSD-3-Clause
license-file: LICENSE
category: distribution
author: Tony Day
maintainer: tonyday567@gmail.com
homepage: https://github.com/tonyday567/cabal-fixes#readme
bug-reports: https://github.com/tonyday567/cabal-fixes/issues
synopsis: Fix for cabal files.
description:
An executable and library to help fix cabal files and explore cabal.
build-type: Simple
tested-with:
GHC == 8.10.7
GHC == 9.2.8
GHC == 9.4.8
GHC == 9.6.4
GHC == 9.8.1
extra-doc-files:
ChangeLog.md
other/textdeps.svg
readme.org
source-repository head
type: git
location: https://github.com/tonyday567/cabal-fixes
common ghc-options-exe-stanza
ghc-options:
-fforce-recomp
-funbox-strict-fields
-rtsopts
-threaded
-with-rtsopts=-N
common ghc-options-stanza
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
common ghc2021-stanza
if impl ( ghc >= 9.2 )
default-language: GHC2021
if impl ( ghc < 9.2 )
default-language: Haskell2010
default-extensions:
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
InstanceSigs
KindSignatures
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
PatternGuards
PolyKinds
PostfixOperators
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StarIsType
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
if impl ( ghc < 9.2 ) && impl ( ghc >= 8.10 )
default-extensions:
ImportQualifiedPost
StandaloneKindSignatures
library
import: ghc-options-stanza
import: ghc2021-stanza
hs-source-dirs: src
build-depends:
, Cabal-syntax >=3.10 && <3.11
, algebraic-graphs >=0.7 && <0.8
, base >=4.17 && <5
, bytestring >=0.11 && <0.13
, containers >=0.6 && <0.8
, directory >=1.3 && <1.4
, dotparse >=0.1 && <0.2
, flatparse >=0.3 && <0.6
, optics-extra >=0.4 && <0.5
, pretty >=1.1 && <1.2
, pretty-simple >=4.1 && <4.2
, string-interpolate >=0.3 && <0.4
, tar >=0.5 && <0.7
, these >=1.2 && <1.3
, tree-diff >=0.3 && <0.4
, vector >=0.13 && <0.14
exposed-modules:
CabalFix
CabalFix.Archive
CabalFix.FlatParse
CabalFix.Patch
executable cabal-fix
import: ghc-options-exe-stanza
import: ghc-options-stanza
import: ghc2021-stanza
main-is: cabal-fix.hs
hs-source-dirs: app
build-depends:
, base >=4.17 && <5
, bytestring >=0.11 && <0.13
, cabal-fix
, directory >=1.3 && <1.4
, filepath >=1.4 && <1.6
, optparse-applicative >=0.17 && <0.19
, pretty-simple >=4.1 && <4.2
, text >=2.0 && <2.2
, tree-diff >=0.3 && <0.4