summaryrefslogtreecommitdiff
path: root/graphql-spice.cabal
blob: 78e95942ab56e5c4680c16630da30bbf205c10fe (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
cabal-version:      2.4

name:               graphql-spice
version:            1.0.1.0
synopsis:           GraphQL with batteries
description:        Various extensions and convenience functions  for the core
                    graphql package.
category:           Language
homepage:           https://www.caraus.tech/projects/pub-graphql-spice
bug-reports:        https://www.caraus.tech/projects/pub-graphql-spice/issues
author:             Eugen Wissner <belka@caraus.de>
maintainer:         belka@caraus.de
copyright:          (c) 2021-2023 Eugen Wissner
license:            MPL-2.0
license-files:      LICENSE
build-type:         Simple
extra-source-files: CHANGELOG.md
tested-with:
  GHC == 9.2.5

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

library
    exposed-modules:
      Language.GraphQL.Class
      Language.GraphQL.JSON
      Language.GraphQL.Resolver
      Test.Hspec.GraphQL
    other-modules:
    hs-source-dirs:   src
    ghc-options: -Wall
    build-depends:
      aeson ^>= 2.0.3,
      base >= 4.7 && < 5,
      conduit ^>= 1.3.4,
      containers ^>= 0.6.2,
      exceptions ^>= 0.10.4,
      hspec-expectations >= 0.8.2 && < 0.9,
      graphql >= 1.0,
      megaparsec >= 9.0 && < 10,
      scientific ^>= 0.3.7,
      text >= 1.2 && < 3,
      transformers ^>= 0.5.6,
      vector ^>= 0.12.3,
      unordered-containers ^>= 0.2.16
    default-language: Haskell2010

test-suite graphql-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
    Language.GraphQL.ClassSpec
    Language.GraphQL.CoerceSpec
    Language.GraphQL.DirectiveSpec
    Language.GraphQL.FragmentSpec
    Language.GraphQL.RootOperationSpec
  hs-source-dirs:
    tests
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:
    aeson,
    base,
    graphql,
    graphql-spice,
    hspec >= 2.9.1 && < 3,
    scientific,
    text,
    unordered-containers
  default-language: Haskell2010