summaryrefslogtreecommitdiff
path: root/graphql.cabal
blob: 86eec789633a57cf493f8213d330cd7c6880658f (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
name:                graphql
version:             0.3
synopsis:            Haskell GraphQL implementation
description:
  This package provides a rudimentary parser for the
  <https://facebook.github.io/graphql/ GraphQL> language.
homepage:            https://github.com/jdnavarro/graphql-haskell
bug-reports:         https://github.com/jdnavarro/graphql-haskell/issues
license:             BSD3
license-file:        LICENSE
author:              Danny Navarro, Matthías Páll Gissurarson, Sólrún Halla Einarsdóttir
maintainer:          j@dannynavarro.net
copyright:           Copyright (C) 2015-2016 J. Daniel Navarro
category:            Web
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC == 7.8.4, GHC == 7.10.3
extra-source-files:  README.md CHANGELOG.md stack.yaml
                     docs/tutorial/tutorial.lhs
data-files:          tests/data/*.graphql
                     tests/data/*.min.graphql

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  exposed-modules:     Data.GraphQL
                       Data.GraphQL.AST
                       Data.GraphQL.Encoder
                       Data.GraphQL.Execute
                       Data.GraphQL.Schema
                       Data.GraphQL.Parser
                       Data.GraphQL.Error
  build-depends:       aeson >= 0.7.0.3,
                       attoparsec >= 0.10.4.0,
                       base >= 4.7 && < 5,
                       text >= 0.11.3.1,
                       unordered-containers >= 0.2.5.0

test-suite tasty
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             tasty.hs
  ghc-options:         -Wall
  other-modules:       Paths_graphql
                       Test.StarWars.Data
                       Test.StarWars.Schema
                       Test.StarWars.QueryTests
  build-depends:       aeson >= 0.7.0.3,
                       attoparsec >= 0.10.4.0,
                       base >= 4.6 && <5,
                       graphql,
                       raw-strings-qq >= 1.1,
                       tasty >= 0.10,
                       tasty-hunit >= 0.9,
                       text >= 0.11.3.1,
                       unordered-containers >= 0.2.5.0

source-repository head
  type:     git
  location: git://github.com/jdnavarro/graphql-haskell.git