packages feed

language-thrift-0.11.0.0: language-thrift.cabal

cabal-version: 1.12

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

name:           language-thrift
version:        0.11.0.0
bug-reports:    https://github.com/abhinav/language-thrift/issues
build-type:     Simple
license:        BSD3
license-file:   LICENSE
maintainer:     Abhinav Gupta <mail@abhinavg.net>
homepage:       https://github.com/abhinav/language-thrift#readme
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
author:         Abhinav Gupta
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
    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 >=7.0 && <8.0,
        scientific >=0.3 && <0.4,
        semigroups >=0.18 && <0.19,
        text >=1.2,
        transformers
    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
    default-language: Haskell2010

test-suite spec
    type: exitcode-stdio-1.0
    main-is: Main.hs
    hs-source-dirs:
        src
        test
    ghc-options: -Wall
    build-depends:
        QuickCheck >=2.5,
        ansi-wl-pprint >=0.6 && <0.7,
        base >=4.7 && <5,
        containers >=0.5 && <0.7,
        hspec >=2.0,
        hspec-discover >=2.1,
        language-thrift,
        megaparsec >=7.0 && <8.0,
        scientific >=0.3 && <0.4,
        semigroups >=0.18 && <0.19,
        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