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

name:               graphql-spice
version:            0.1.0.0
synopsis:           GraphQL with batteries
description:        Various extensions and convenience functions  for the core
                    graphql package.
homepage:           https://www.caraus.tech/projects/pub-graphql-spice
bug-reports:        https://www.caraus.tech/projects/pub-graphql-spice/issues
license:            MPL-2.0
license-files:      LICENSE
author:             Eugen Wissner <belka@caraus.de>
maintainer:         belka@caraus.de

copyright:          (c) 2021 Eugen Wissner
category:           Language
extra-source-files: CHANGELOG.md
tested-with:
    GHC == 8.10.7

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

library
    exposed-modules:
        Language.GraphQL
    other-modules:
    hs-source-dirs:   src
    ghc-options: -Wall
    build-depends:
--      aeson >= 2.0.2.0 && < 2.1
        base ^>=4.14.3.0
      , graphql >= 1.0.1.0 && < 1.1
    default-language: Haskell2010


test-suite graphql-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      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 >= 4.8 && < 5
    , graphql
    , hspec >= 2.9.1 && < 3
    , text
    , unordered-containers
  default-language: Haskell2010