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

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

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

library
  exposed-modules:
    Language.GraphQL.Class
    Language.GraphQL.JSON
    Language.GraphQL.Resolver
    Language.GraphQL.TH
    Test.Hspec.GraphQL
  other-modules:
  hs-source-dirs: src
  ghc-options: -Wall
  build-depends:
    aeson >= 2.0.3 && < 2.3,
    base >= 4.7 && < 5,
    conduit ^>= 1.3.4,
    containers >= 0.6 && < 0.9,
    exceptions ^>= 0.10.4,
    hspec-expectations >= 0.8.2 && < 0.9,
    graphql ^>= 1.5.0,
    megaparsec >= 9.0 && < 10,
    scientific ^>= 0.3.7,
    template-haskell >= 2.16 && < 3,
    text >= 1.2 && < 3,
    time >= 1.12.2 && < 1.16,
    transformers >= 0.5.6 && < 0.7,
    vector >= 0.12 && < 0.14,
    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
    Language.GraphQL.THSpec
  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,
    time,
    unordered-containers
  build-tool-depends:
    hspec-discover:hspec-discover
  default-language: Haskell2010