graphql/graphql.cabal

122 lines
3.2 KiB
Plaintext
Raw Permalink Normal View History

cabal-version: 2.4
2020-07-03 07:00:37 +02:00
name: graphql
version: 1.1.0.0
2020-07-03 07:00:37 +02:00
synopsis: Haskell GraphQL implementation
description: Haskell <https://spec.graphql.org/June2018/ GraphQL> implementation.
2020-07-03 07:00:37 +02:00
category: Language
homepage: https://www.caraus.tech/projects/pub-graphql
bug-reports: https://www.caraus.tech/projects/pub-graphql/issues
2020-07-03 07:00:37 +02:00
author: Danny Navarro <j@dannynavarro.net>,
Matthías Páll Gissurarson <mpg@mpg.is>,
Sólrún Halla Einarsdóttir <she@mpg.is>
maintainer: belka@caraus.de
2022-03-31 21:49:44 +02:00
copyright: (c) 2019-2022 Eugen Wissner,
2020-07-03 07:00:37 +02:00
(c) 2015-2017 J. Daniel Navarro
license: MPL-2.0 AND BSD-3-Clause
license-files: LICENSE,
LICENSE.MPL
2020-07-03 07:00:37 +02:00
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
2021-09-24 08:49:37 +02:00
tested-with:
GHC == 8.10.7,
GHC == 9.2.4
2020-07-03 07:00:37 +02:00
source-repository head
type: git
location: git://caraus.tech/pub/graphql.git
2020-07-03 07:00:37 +02:00
2021-12-24 13:35:18 +01:00
flag Json
description: Whether to build against @aeson 1.x@
default: False
2021-12-24 13:35:18 +01:00
manual: True
2020-07-03 07:00:37 +02:00
library
exposed-modules:
Language.GraphQL
Language.GraphQL.AST
Language.GraphQL.AST.DirectiveLocation
Language.GraphQL.AST.Document
Language.GraphQL.AST.Encoder
Language.GraphQL.AST.Lexer
Language.GraphQL.AST.Parser
Language.GraphQL.Error
Language.GraphQL.Execute
Language.GraphQL.Execute.Coerce
Language.GraphQL.Execute.OrderedMap
Language.GraphQL.TH
Language.GraphQL.Type
Language.GraphQL.Type.In
Language.GraphQL.Type.Out
Language.GraphQL.Type.Schema
Language.GraphQL.Validate
Language.GraphQL.Validate.Validation
Test.Hspec.GraphQL
2020-07-03 07:00:37 +02:00
other-modules:
Language.GraphQL.Execute.Transform
Language.GraphQL.Type.Definition
Language.GraphQL.Type.Internal
Language.GraphQL.Validate.Rules
2020-07-03 07:00:37 +02:00
hs-source-dirs:
src
2021-02-21 22:26:48 +01:00
ghc-options: -Wall
2021-12-24 13:35:18 +01:00
2020-07-03 07:00:37 +02:00
build-depends:
base >= 4.7 && < 5,
conduit ^>= 1.3.4,
containers ^>= 0.6.2,
exceptions ^>= 0.10.4,
megaparsec >= 9.0 && < 10,
parser-combinators >= 1.3 && < 2,
template-haskell >= 2.16 && < 3,
2022-03-27 13:41:16 +02:00
text >= 1.2 && < 3,
transformers ^>= 0.5.6,
unordered-containers ^>= 0.2.14,
vector ^>= 0.12.3
2021-12-24 13:35:18 +01:00
if flag(Json)
build-depends:
aeson >= 1.5.6 && < 1.6,
hspec-expectations >= 0.8.2 && < 0.9,
2021-12-24 13:35:18 +01:00
scientific >= 0.3.7 && < 0.4
cpp-options: -DWITH_JSON
2020-07-03 07:00:37 +02:00
default-language: Haskell2010
test-suite graphql-test
2020-07-03 07:00:37 +02:00
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Language.GraphQL.AST.DocumentSpec
Language.GraphQL.AST.EncoderSpec
Language.GraphQL.AST.LexerSpec
Language.GraphQL.AST.ParserSpec
Language.GraphQL.AST.Arbitrary
Language.GraphQL.ErrorSpec
Language.GraphQL.Execute.CoerceSpec
Language.GraphQL.Execute.OrderedMapSpec
Language.GraphQL.ExecuteSpec
Language.GraphQL.Type.OutSpec
Language.GraphQL.Validate.RulesSpec
2022-01-04 12:40:41 +01:00
Schemas.HeroSchema
2020-07-03 07:00:37 +02:00
hs-source-dirs:
tests
2021-02-21 22:26:48 +01:00
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
2021-12-24 13:35:18 +01:00
2020-07-03 07:00:37 +02:00
build-depends:
QuickCheck ^>= 2.14.1,
base,
conduit,
exceptions,
graphql,
hspec ^>= 2.9.1,
hspec-expectations ^>= 0.8.2,
hspec-megaparsec ^>= 2.2.0,
megaparsec,
text,
2022-01-04 12:40:41 +01:00
unordered-containers,
containers,
vector
2020-07-03 07:00:37 +02:00
default-language: Haskell2010