packages feed

graphql-0.11.1.0: graphql.cabal

cabal-version:      2.2
name:               graphql
version:            0.11.1.0
license:            MPL-2.0 AND BSD-3-Clause
license-file:       LICENSE LICENSE.MPL
copyright:
    (c) 2019-2021 Eugen Wissner,
    (c) 2015-2017 J. Daniel Navarro

maintainer:         belka@caraus.de
author:
    Danny Navarro <j@dannynavarro.net>,
    Matthías Páll Gissurarson <mpg@mpg.is>,
    Sólrún Halla Einarsdóttir <she@mpg.is>

homepage:           https://www.caraus.tech/projects/pub-graphql
bug-reports:        https://www.caraus.tech/projects/pub-graphql/issues
synopsis:           Haskell GraphQL implementation
description:
    Haskell <https://spec.graphql.org/June2018/ GraphQL> implementation.

category:           Language
build-type:         Simple
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
    type:     git
    location: git://caraus.tech/pub/graphql.git

library
    exposed-modules:
        Language.GraphQL
        Language.GraphQL.AST
        Language.GraphQL.AST.DirectiveLocation
        Language.GraphQL.AST.Document
        Language.GraphQL.AST.Encoder
        Language.GraphQL.AST.Lexer
        Language.GraphQL.AST.Parser
        Language.GraphQL.Error
        Language.GraphQL.Execute
        Language.GraphQL.Execute.Coerce
        Language.GraphQL.Type
        Language.GraphQL.Type.In
        Language.GraphQL.Type.Out
        Language.GraphQL.Type.Schema
        Language.GraphQL.Validate
        Language.GraphQL.Validate.Validation
        Test.Hspec.GraphQL

    hs-source-dirs:   src
    other-modules:
        Language.GraphQL.Execute.Execution
        Language.GraphQL.Execute.Subscribe
        Language.GraphQL.Execute.Transform
        Language.GraphQL.Type.Definition
        Language.GraphQL.Type.Internal
        Language.GraphQL.Validate.Rules

    default-language: Haskell2010
    build-depends:
        aeson >=1.5.5.1,
        base >=4.7 && <5,
        conduit >=1.3.4,
        containers >=0.6.2.1,
        exceptions >=0.10.4,
        hspec-expectations >=0.8.2,
        megaparsec >=9.0.1,
        parser-combinators >=1.2.1,
        scientific >=0.3.6.2,
        text >=1.2.4.1,
        transformers >=0.5.6.2,
        unordered-containers >=0.2.13.0

test-suite graphql-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   tests
    other-modules:
        Language.GraphQL.AST.DocumentSpec
        Language.GraphQL.AST.EncoderSpec
        Language.GraphQL.AST.LexerSpec
        Language.GraphQL.AST.ParserSpec
        Language.GraphQL.ErrorSpec
        Language.GraphQL.Execute.CoerceSpec
        Language.GraphQL.ExecuteSpec
        Language.GraphQL.Type.OutSpec
        Language.GraphQL.Validate.RulesSpec
        Test.DirectiveSpec
        Test.FragmentSpec
        Test.RootOperationSpec
        Paths_graphql

    autogen-modules:  Paths_graphql
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        QuickCheck >=2.14.2,
        aeson >=1.5.5.1,
        base >=4.7 && <5,
        conduit >=1.3.4,
        containers >=0.6.2.1,
        exceptions >=0.10.4,
        graphql -any,
        hspec >=2.7.8,
        hspec-expectations >=0.8.2,
        hspec-megaparsec >=2.2.0,
        megaparsec >=9.0.1,
        parser-combinators >=1.2.1,
        raw-strings-qq >=1.1,
        scientific >=0.3.6.2,
        text >=1.2.4.1,
        transformers >=0.5.6.2,
        unordered-containers >=0.2.13.0