packages feed

graphql-api-0.4.0: graphql-api.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: 39720cafd3fe95e5c20d8064aaddbffaa16071fb08720ffc587d4d48228deec8

name:           graphql-api
version:        0.4.0
synopsis:       GraphQL API
description:    Implement [GraphQL](http://graphql.org/) servers in Haskell.
                .
                Provides a Servant-like type-based API for defining GraphQL schemas and
                implementing handlers for those schemas.
                .
                See [README.md](https://github.com/haskell-graphql/graphql-api#graphql-api) for more details.
category:       Web
stability:      unstable
homepage:       https://github.com/haskell-graphql/graphql-api#readme
bug-reports:    https://github.com/haskell-graphql/graphql-api/issues
author:         Jonathan M. Lange, Tom Hunger
maintainer:     Jonathan M. Lange <jml@mumak.net>, Tom Hunger <tehunger@gmail.com>
license:        Apache
license-file:   LICENSE.Apache-2.0
build-type:     Simple
extra-source-files:
    CHANGELOG.rst

source-repository head
  type: git
  location: https://github.com/haskell-graphql/graphql-api

library
  hs-source-dirs:
      src
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints
  build-depends:
      QuickCheck
    , aeson
    , attoparsec
    , base >=4.9 && <5
    , containers
    , exceptions
    , ghc-prim
    , protolude >=0.2.1
    , scientific
    , text
    , transformers
  exposed-modules:
      GraphQL
      GraphQL.API
      GraphQL.Internal.API
      GraphQL.Internal.API.Enum
      GraphQL.Internal.Arbitrary
      GraphQL.Internal.Execution
      GraphQL.Internal.Name
      GraphQL.Internal.OrderedMap
      GraphQL.Internal.Output
      GraphQL.Internal.Resolver
      GraphQL.Internal.Schema
      GraphQL.Internal.Syntax.AST
      GraphQL.Internal.Syntax.Encoder
      GraphQL.Internal.Syntax.Parser
      GraphQL.Internal.Syntax.Tokens
      GraphQL.Internal.Validation
      GraphQL.Internal.Value
      GraphQL.Internal.Value.FromValue
      GraphQL.Internal.Value.ToValue
      GraphQL.Resolver
      GraphQL.Value
  other-modules:
      Paths_graphql_api
  default-language: Haskell2010

executable input-object-example
  main-is: InputObject.hs
  hs-source-dirs:
      examples
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints
  build-depends:
      aeson
    , attoparsec
    , base >=4.9 && <5
    , exceptions
    , graphql-api
    , protolude >=0.2.1
    , transformers
  default-language: Haskell2010

executable union-example
  main-is: UnionExample.hs
  hs-source-dirs:
      examples
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints
  build-depends:
      aeson
    , attoparsec
    , base >=4.9 && <5
    , exceptions
    , graphql-api
    , protolude >=0.2.1
    , transformers
  default-language: Haskell2010

test-suite graphql-api-doctests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      tests/doctests
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints -threaded
  build-depends:
      attoparsec
    , base >=4.9 && <5
    , doctest
    , exceptions
    , protolude >=0.2.1
    , transformers
  other-modules:
      Paths_graphql_api
  default-language: Haskell2010

test-suite graphql-api-tests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      tests
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints
  build-depends:
      QuickCheck
    , aeson
    , attoparsec
    , base >=4.9 && <5
    , containers
    , directory
    , exceptions
    , graphql-api
    , hspec
    , protolude >=0.2.1
    , raw-strings-qq
    , transformers
  other-modules:
      ASTSpec
      EndToEndSpec
      EnumTests
      ExampleSchema
      OrderedMapSpec
      ResolverSpec
      SchemaSpec
      Spec
      ValidationSpec
      ValueSpec
      Paths_graphql_api
  default-language: Haskell2010

benchmark criterion
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      benchmarks
  default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
  ghc-options: -Wall -fno-warn-redundant-constraints
  build-depends:
      attoparsec
    , base >=4.9 && <5
    , criterion
    , exceptions
    , graphql-api
    , protolude >=0.2.1
    , transformers
  other-modules:
      Validation
      Paths_graphql_api
  default-language: Haskell2010