summaryrefslogtreecommitdiff
path: root/graphql.cabal
blob: 2219fed1504e04f78622e6c573ca9ae4cc974308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
cabal-version: 2.2

name:           graphql
version:        1.0.0.0
synopsis:       Haskell GraphQL implementation
description:    Haskell <https://spec.graphql.org/June2018/ GraphQL> implementation.
category:       Language
homepage:       https://www.caraus.tech/projects/pub-graphql
bug-reports:    https://www.caraus.tech/projects/pub-graphql/issues
author:         Danny Navarro <j@dannynavarro.net>,
                Matthías Páll Gissurarson <mpg@mpg.is>,
                Sólrún Halla Einarsdóttir <she@mpg.is>
maintainer:     belka@caraus.de
copyright:      (c) 2019-2021 Eugen Wissner,
                (c) 2015-2017 J. Daniel Navarro
license:        MPL-2.0 AND BSD-3-Clause
license-files:  LICENSE,
                LICENSE.MPL
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    README.md
tested-with: GHC == 8.10.4

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.Execute.OrderedMap
      Language.GraphQL.TH
      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
  other-modules:
      Language.GraphQL.Execute.Transform
      Language.GraphQL.Type.Definition
      Language.GraphQL.Type.Internal
      Language.GraphQL.Validate.Rules
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >= 1.5.6 && < 1.6
    , base >= 4.7 && < 5
    , conduit >= 1.3.4 && < 1.4
    , containers >= 0.6.2 && < 0.7
    , exceptions >= 0.10.4 && < 0.11
    , hspec-expectations >= 0.8.2 && < 0.9
    , megaparsec >= 9.0.1 && < 9.1
    , parser-combinators >= 1.3.0 && < 1.4
    , scientific >= 0.3.7 && < 0.4
    , template-haskell >= 2.16 && < 2.18
    , text >= 1.2.4 && < 1.3
    , transformers >= 0.5.6 && < 0.6
    , unordered-containers >= 0.2.14 && < 0.3
    , vector >= 0.12.3 && < 0.13
  default-language: Haskell2010

test-suite graphql-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  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.Execute.OrderedMapSpec
      Language.GraphQL.ExecuteSpec
      Language.GraphQL.Type.OutSpec
      Language.GraphQL.Validate.RulesSpec
      Test.DirectiveSpec
      Test.FragmentSpec
      Test.RootOperationSpec
  hs-source-dirs:
      tests
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:
      QuickCheck >= 2.14.1 && < 2.15
    , aeson
    , base >= 4.7 && < 5
    , conduit
    , exceptions
    , graphql
    , hspec >= 2.8.2 && < 2.9
    , hspec-megaparsec >= 2.2.0 && < 2.3
    , megaparsec
    , raw-strings-qq >= 1.1 && < 1.2
    , scientific
    , text
    , unordered-containers
  default-language: Haskell2010