ghc-lib-parser-ex-0.20200301: ghc-lib-parser-ex.cabal
cabal-version: >= 1.18
name: ghc-lib-parser-ex
version: 0.20200301
description: Please see the README on GitHub at <https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme>
homepage: https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme
bug-reports: https://github.com/shayne-fletcher/ghc-lib-parser-ex/issues
author: Shayne Fletcher
maintainer: shayne@shaynefletcher.org
copyright: Copyright © 2020, Shayne Fletcher. All rights reserved.
license: BSD3
license-file: LICENSE
category: Development
synopsis: Algorithms on GHC parse trees
build-type: Simple
tested-with: GHC==8.8.2, GHC==8.6.5
extra-source-files:
README.md
ChangeLog.md
cbits/ghclib_api.h
source-repository head
type: git
location: https://github.com/shayne-fletcher/ghc-lib-parser-ex
flag ghc-lib
default: False
manual: True
description: Force dependency on ghc-lib-parser even if GHC API in the ghc package is supported
library
exposed-modules:
Language.Haskell.GhclibParserEx.Config
Language.Haskell.GhclibParserEx.Dump
Language.Haskell.GhclibParserEx.DynFlags
Language.Haskell.GhclibParserEx.Fixity
Language.Haskell.GhclibParserEx.GHC.Hs.Expr
Language.Haskell.GhclibParserEx.GHC.Hs.Pat
Language.Haskell.GhclibParserEx.GHC.Hs.Types
Language.Haskell.GhclibParserEx.GHC.Hs.Decls
Language.Haskell.GhclibParserEx.GHC.Hs.ExtendInstances
Language.Haskell.GhclibParserEx.Parse
Language.Haskell.GhclibParserEx.Outputable
other-modules:
Paths_ghc_lib_parser_ex
hs-source-dirs:
src
build-depends:
base >=4.7 && <5,
uniplate >= 1.5,
bytestring >= 0.10.8.2,
containers >= 0.5.8.1,
extra >= 1.6.19
if !flag(ghc-lib) && impl(ghc >= 8.8.0) && impl(ghc < 8.9.0)
build-depends:
ghc == 8.8.*,
ghc-boot-th,
ghc-boot
else
build-depends:
ghc-lib-parser
include-dirs:
cbits
install-includes:
cbits/ghclib_api.h
default-language: Haskell2010
test-suite ghc-lib-parser-ex-test
type: exitcode-stdio-1.0
main-is:
Test.hs
other-modules:
Paths_ghc_lib_parser_ex
hs-source-dirs:
test
include-dirs:
cbits
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, tasty >= 1.2
, tasty-hunit >= 0.10.0
, directory >= 1.3.3
, filepath >= 1.4.2
, extra >=1.6
, ghc-lib-parser-ex
if !flag(ghc-lib) && impl(ghc >= 8.8.0) && impl(ghc < 8.9.0)
build-depends:
ghc == 8.8.*,
ghc-boot-th
else
build-depends:
ghc-lib-parser
default-language: Haskell2010