forked from OSS/graphql
5390c4ca1e
One AST is meant to be a target parser and tries to adhere as much as possible to the spec. The other is a simplified version of that AST meant for execution. Also newtypes have been replaced by type synonyms and NonEmpty lists are being used where it makes sense.
69 lines
2.7 KiB
Plaintext
69 lines
2.7 KiB
Plaintext
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.10.3, GHC==8.0.1
|
|
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.AST.Core
|
|
Data.GraphQL.Execute
|
|
Data.GraphQL.Encoder
|
|
Data.GraphQL.Error
|
|
Data.GraphQL.Schema
|
|
Data.GraphQL.Parser
|
|
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,
|
|
scientific >=0.3.1 && <0.4
|
|
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.*
|
|
|
|
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
|