packages feed

language-thrift-0.12.0.0: language-thrift.cabal

cabal-version: 1.12

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

name:           language-thrift
version:        0.12.0.0
synopsis:       Parser and pretty printer for the Thrift IDL format.
description:    This package provides a parser and pretty printer for the
                <http://thrift.apache.org/docs/idl Thrift IDL format>.
category:       Language
homepage:       https://github.com/abhinav/language-thrift#readme
bug-reports:    https://github.com/abhinav/language-thrift/issues
author:         Abhinav Gupta
maintainer:     Abhinav Gupta <mail@abhinavg.net>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGES.md
    examples/generateHaskellTypes.hs
    examples/reformatIDL.hs
    README.md
    test/data/docstring-1.txt
    test/data/docstring-2.txt

source-repository head
  type: git
  location: https://github.com/abhinav/language-thrift

library
  exposed-modules:
      Language.Thrift.AST
      Language.Thrift.Parser
      Language.Thrift.Pretty
  other-modules:
      Language.Thrift.Internal.AST
      Language.Thrift.Internal.Lens
      Language.Thrift.Internal.Reserved
      Paths_language_thrift
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      ansi-wl-pprint >=0.6 && <0.7
    , base >=4.7 && <5
    , containers >=0.5 && <0.7
    , megaparsec >=9.0 && <10.0
    , scientific >=0.3 && <0.4
    , semigroups >=0.18 && <0.20
    , text >=1.2
    , transformers
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      src
      test
  ghc-options: -Wall
  build-tool-depends:
      hspec-discover:hspec-discover >=2.1
  build-depends:
      QuickCheck >=2.5
    , ansi-wl-pprint >=0.6 && <0.7
    , base >=4.7 && <5
    , containers >=0.5 && <0.7
    , hspec >=2.0
    , language-thrift
    , megaparsec >=9.0 && <10.0
    , scientific >=0.3 && <0.4
    , semigroups >=0.18 && <0.20
    , text >=1.2
    , transformers
  other-modules:
      Language.Thrift.AST
      Language.Thrift.Internal.AST
      Language.Thrift.Internal.Lens
      Language.Thrift.Internal.Reserved
      Language.Thrift.Parser
      Language.Thrift.Pretty
      Language.Thrift.Arbitrary
      Language.Thrift.ASTSpec
      Language.Thrift.ParserSpec
      Spec
      TestUtils
      Paths_language_thrift
  default-language: Haskell2010