summaryrefslogtreecommitdiff
path: root/graphql.cabal
blob: e7b1e8dd541dc4f2cd6c8e11d867db0cd63e7236 (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
79
80
81
82
83
84
85
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 5e8ecb58b182478576a725b6da5466c8e71db7dda7735397006e2b14406ee3ad

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.
category:       Web
homepage:       https://github.com/jdnavarro/graphql-haskell
bug-reports:    https://github.com/jdnavarro/graphql-haskell/issues
author:         Danny Navarro,
                Matthías Páll Gissurarson,
                Sólrún Halla Einarsdóttir
maintainer:     j@dannynavarro.net
copyright:      Copyright (C) 2015-2019 J. Daniel Navarro
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    README.md
    LICENSE
    TODO
    docs/tutorial/tutorial.lhs
data-files:
    tests/data/kitchen-sink.graphql
    tests/data/kitchen-sink.min.graphql

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

library
  exposed-modules:
      Data.GraphQL
      Data.GraphQL.AST
      Data.GraphQL.AST.Core
      Data.GraphQL.AST.Transform
      Data.GraphQL.Encoder
      Data.GraphQL.Error
      Data.GraphQL.Execute
      Data.GraphQL.Parser
      Data.GraphQL.Schema
  other-modules:
      Paths_graphql
  hs-source-dirs:
      ./.
  build-depends:
      aeson
    , attoparsec
    , base >=4.7 && <5
    , scientific
    , semigroups
    , text
    , unordered-containers
  default-language: Haskell2010

test-suite tasty
  type: exitcode-stdio-1.0
  main-is: tasty.hs
  other-modules:
      Test.StarWars.Data
      Test.StarWars.QueryTests
      Test.StarWars.Schema
      Paths_graphql
  hs-source-dirs:
      tests
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , attoparsec
    , base >=4.7 && <5
    , graphql
    , raw-strings-qq
    , semigroups
    , tasty
    , tasty-hunit
    , text
    , unordered-containers
  default-language: Haskell2010