cabal-version: >= 1.18
name: ghc-lib-parser-ex
version: 8.8.2
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
extra-source-files:
README.md
ChangeLog.md
extra-source-files:
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.Parse
Language.Haskell.GhclibParserEx.Outputable
Language.Haskell.GhclibParserEx.Dump
Language.Haskell.GhclibParserEx.Fixity
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
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
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.3
, 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