summaryrefslogtreecommitdiff
path: root/graphql-spice.cabal
blob: 0622ea7aea51f25d64800d3a06b25259e3f4771f (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
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.
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 Eugen Wissner
license:            MPL-2.0
license-files:      LICENSE
build-type:         Simple
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.Foundation,
      Language.GraphQL.Serialize
    other-modules:
    hs-source-dirs:   src
    ghc-options: -Wall
    build-depends:
      aeson ^>= 2.0.3,
      base ^>=4.14.3.0,
      graphql ^>= 1.0.2
    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,
    graphql-spice,
    hspec >= 2.9.1 && < 3,
    text,
    unordered-containers
  default-language: Haskell2010