packages feed

ghc-source-gen-0.1.0.0: ghc-source-gen.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: bbf81e9b932cf501a87fab8a5ebcea3df292f1cab234cad74fb08185047e9388

name:           ghc-source-gen
version:        0.1.0.0
synopsis:       Constructs Haskell syntax trees for the GHC API.
description:    @ghc-source-gen@ is a library for generating Haskell source code.
                It uses the <https://hackage.haskell.org/package/ghc ghc> library
                to support recent language extensions, and provides a simple, consistent
                interface across several major versions of GHC.
                .
                To get started, take a look at the "GHC.SourceGen" module.
                .
                For more information, please see the <https://github.com/google/ghc-source-gen README>.
category:       Development
homepage:       https://github.com/google/ghc-source-gen#readme
bug-reports:    https://github.com/google/ghc-source-gen/issues
author:         Judah Jacobson
maintainer:     judahjacobson@google.com
copyright:      Google LLC
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/google/ghc-source-gen

library
  exposed-modules:
      GHC.SourceGen
      GHC.SourceGen.Binds
      GHC.SourceGen.Decl
      GHC.SourceGen.Expr
      GHC.SourceGen.Lit
      GHC.SourceGen.Module
      GHC.SourceGen.Name
      GHC.SourceGen.Overloaded
      GHC.SourceGen.Pat
      GHC.SourceGen.Pretty
      GHC.SourceGen.Syntax
      GHC.SourceGen.Type
  other-modules:
      GHC.SourceGen.Binds.Internal
      GHC.SourceGen.Expr.Internal
      GHC.SourceGen.Lit.Internal
      GHC.SourceGen.Name.Internal
      GHC.SourceGen.Syntax.Internal
      GHC.SourceGen.Type.Internal
  hs-source-dirs:
      src
  default-extensions: DataKinds FlexibleInstances TypeSynonymInstances
  build-depends:
      base >=4.7 && <5
    , ghc >=8.2 && <8.9
  default-language: Haskell2010

test-suite pprint_examples
  type: exitcode-stdio-1.0
  main-is: pprint_examples.hs
  other-modules:
      Paths_ghc_source_gen
  hs-source-dirs:
      tests
  default-extensions: DataKinds FlexibleInstances TypeSynonymInstances
  build-depends:
      base >=4.7 && <5
    , ghc >=8.2 && <8.9
    , ghc-paths ==0.1.*
    , ghc-source-gen
  default-language: Haskell2010

test-suite pprint_test
  type: exitcode-stdio-1.0
  main-is: pprint_test.hs
  other-modules:
      Paths_ghc_source_gen
  hs-source-dirs:
      tests
  default-extensions: DataKinds FlexibleInstances TypeSynonymInstances
  build-depends:
      base >=4.7 && <5
    , ghc >=8.2 && <8.9
    , ghc-paths ==0.1.*
    , ghc-source-gen
    , tasty
    , tasty-hunit
  default-language: Haskell2010