packages feed

language-thrift-0.8.0.2: language-thrift.cabal

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

name:           language-thrift
version:        0.8.0.2
cabal-version:  >= 1.10
build-type:     Simple
license:        BSD3
license-file:   LICENSE
maintainer:     Abhinav Gupta <mail@abhinavg.net>
homepage:       https://github.com/abhinav/language-thrift#readme
bug-reports:    https://github.com/abhinav/language-thrift/issues
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
    exposed-modules:
        Language.Thrift.Parser
        Language.Thrift.Pretty
        Language.Thrift.Types
    other-modules:
        Language.Thrift.Internal.Reserved
        Language.Thrift.Internal.Types
        Paths_language_thrift
    default-language: Haskell2010
    build-depends:
        base >= 4.7 && < 5,
        ansi-wl-pprint >= 0.6 && < 0.7,
        containers >= 0.5 && < 0.6,
        megaparsec >= 4.0 && < 5.0,
        text >= 1.2,
        transformers

test-suite spec
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        base >= 4.7 && < 5,
        ansi-wl-pprint >= 0.6 && < 0.7,
        containers >= 0.5 && < 0.6,
        megaparsec >= 4.0 && < 5.0,
        text >= 1.2,
        transformers,
        hspec >= 2.0,
        hspec-discover >= 2.1,
        language-thrift,
        QuickCheck >= 2.5
    other-modules:
        Language.Thrift.Internal.Reserved
        Language.Thrift.Internal.Types
        Language.Thrift.Parser
        Language.Thrift.Pretty
        Language.Thrift.Types
        Language.Thrift.Arbitrary
        Language.Thrift.ParserSpec
        Language.Thrift.TypesSpec
        Spec
        TestUtils
    default-language: Haskell2010
    hs-source-dirs:
        src,
        test
    ghc-options: -Wall