summaryrefslogtreecommitdiff
path: root/graphql.cabal
blob: bdd753259467aa98a5dc4bf3e1b0b89f3ac4d8c0 (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
110
111
112
113
114
115
116
117
118
119
cabal-version: 2.2

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

name:           graphql
version:        0.10.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-2020 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
    CONTRIBUTING.md
    README.md
    docs/tutorial/tutorial.lhs

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
  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
  hs-source-dirs:
      src
  build-depends:
      aeson
    , base >=4.7 && <5
    , conduit
    , containers
    , exceptions
    , hspec-expectations
    , megaparsec
    , parser-combinators
    , scientific
    , text
    , transformers
    , unordered-containers
  default-language: Haskell2010

test-suite tasty
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      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.ValidateSpec
      Test.DirectiveSpec
      Test.FragmentSpec
      Test.RootOperationSpec
      Test.StarWars.Data
      Test.StarWars.QuerySpec
      Test.StarWars.Schema
      Paths_graphql
  hs-source-dirs:
      tests
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , aeson
    , base >=4.7 && <5
    , conduit
    , containers
    , exceptions
    , graphql
    , hspec
    , hspec-expectations
    , hspec-megaparsec
    , megaparsec
    , parser-combinators
    , raw-strings-qq
    , scientific
    , text
    , transformers
    , unordered-containers
  default-language: Haskell2010