2015-09-12 12:54:05 +02:00
|
|
|
name: graphql
|
2015-09-22 14:27:10 +02:00
|
|
|
version: 0.3
|
2015-09-12 15:16:28 +02:00
|
|
|
synopsis: Haskell GraphQL implementation
|
2015-09-12 12:54:05 +02:00
|
|
|
description:
|
2015-09-14 17:25:18 +02:00
|
|
|
This package provides a rudimentary parser for the
|
|
|
|
<https://facebook.github.io/graphql/ GraphQL> language.
|
2015-09-12 12:54:05 +02:00
|
|
|
homepage: https://github.com/jdnavarro/graphql-haskell
|
|
|
|
bug-reports: https://github.com/jdnavarro/graphql-haskell/issues
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2016-03-17 13:50:28 +01:00
|
|
|
author: Danny Navarro, Matthías Páll Gissurarson, Sólrún Halla Einarsdóttir
|
2015-09-12 12:54:05 +02:00
|
|
|
maintainer: j@dannynavarro.net
|
2016-02-08 17:35:33 +01:00
|
|
|
copyright: Copyright (C) 2015-2016 J. Daniel Navarro
|
2015-09-12 13:09:06 +02:00
|
|
|
category: Web
|
2015-09-12 12:54:05 +02:00
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2016-11-27 16:38:31 +01:00
|
|
|
tested-with: GHC == 7.10.3, GHC==8.0.1
|
2015-09-14 15:48:47 +02:00
|
|
|
extra-source-files: README.md CHANGELOG.md stack.yaml
|
2016-03-09 01:15:46 +01:00
|
|
|
docs/tutorial/tutorial.lhs
|
2015-09-16 10:12:36 +02:00
|
|
|
data-files: tests/data/*.graphql
|
2015-09-22 13:53:37 +02:00
|
|
|
tests/data/*.min.graphql
|
2015-09-12 12:54:05 +02:00
|
|
|
|
|
|
|
library
|
2015-09-14 17:01:14 +02:00
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
2016-02-05 12:32:35 +01:00
|
|
|
exposed-modules: Data.GraphQL
|
|
|
|
Data.GraphQL.AST
|
2017-01-28 18:15:14 +01:00
|
|
|
Data.GraphQL.AST.Core
|
2015-10-17 13:19:00 +02:00
|
|
|
Data.GraphQL.Execute
|
2017-01-28 18:15:14 +01:00
|
|
|
Data.GraphQL.Encoder
|
|
|
|
Data.GraphQL.Error
|
2015-10-17 13:19:00 +02:00
|
|
|
Data.GraphQL.Schema
|
2015-09-13 13:51:37 +02:00
|
|
|
Data.GraphQL.Parser
|
2016-03-12 00:59:51 +01:00
|
|
|
build-depends: aeson >= 0.7.0.3,
|
2016-02-08 17:30:18 +01:00
|
|
|
attoparsec >= 0.10.4.0,
|
2016-03-12 00:59:51 +01:00
|
|
|
base >= 4.7 && < 5,
|
|
|
|
text >= 0.11.3.1,
|
2016-12-09 00:34:46 +01:00
|
|
|
unordered-containers >= 0.2.5.0,
|
|
|
|
scientific >=0.3.1 && <0.4
|
2016-11-27 16:38:31 +01:00
|
|
|
if impl(ghc >= 8.0)
|
|
|
|
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
|
|
|
else
|
|
|
|
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
|
|
|
|
build-depends: fail == 4.9.*, semigroups == 0.18.*
|
2015-09-14 17:01:14 +02:00
|
|
|
|
2015-09-22 13:53:37 +02:00
|
|
|
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
|
2016-02-12 13:27:46 +01:00
|
|
|
Test.StarWars.Data
|
|
|
|
Test.StarWars.Schema
|
|
|
|
Test.StarWars.QueryTests
|
2016-03-12 00:59:51 +01:00
|
|
|
build-depends: aeson >= 0.7.0.3,
|
2016-01-26 12:43:18 +01:00
|
|
|
attoparsec >= 0.10.4.0,
|
2016-03-12 00:59:51 +01:00
|
|
|
base >= 4.6 && <5,
|
|
|
|
graphql,
|
2016-02-08 17:30:18 +01:00
|
|
|
raw-strings-qq >= 1.1,
|
2016-01-26 12:43:18 +01:00
|
|
|
tasty >= 0.10,
|
|
|
|
tasty-hunit >= 0.9,
|
2016-03-12 00:59:51 +01:00
|
|
|
text >= 0.11.3.1,
|
|
|
|
unordered-containers >= 0.2.5.0
|
2015-09-12 12:54:05 +02:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://github.com/jdnavarro/graphql-haskell.git
|