From b5157e141e765c1313050cc66a2a323b67f3da79 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 3 Jul 2020 07:00:37 +0200 Subject: [PATCH] Check in .cabal --- .github/workflows/haskell.yml | 2 - .gitignore | 1 - graphql.cabal | 113 ++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 graphql.cabal diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 4f3e0e8..665ac93 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -22,7 +22,6 @@ jobs: with: path: | ~/.stack - graphql.cabal stack.yaml.lock key: ${{ runner.os }}-test-${{ hashFiles('**/stack.yaml') }} restore-keys: ${{ runner.os }}-test- @@ -52,7 +51,6 @@ jobs: with: path: | ~/.stack - graphql.cabal stack.yaml.lock key: ${{ runner.os }}-lint-${{ hashFiles('**/stack.yaml') }} restore-keys: ${{ runner.os }}-lint- diff --git a/.gitignore b/.gitignore index 0cd6a3f..80c4bb7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ .cabal-sandbox/ cabal.sandbox.config cabal.project.local -/graphql.cabal # GHC *.hi diff --git a/graphql.cabal b/graphql.cabal new file mode 100644 index 0000000..7c8737c --- /dev/null +++ b/graphql.cabal @@ -0,0 +1,113 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 7101732e7932f4605d0c6ecaf88fd11c1fb6cb8045e6e0f419858cad027f383a + +name: graphql +version: 0.8.0.0 +synopsis: Haskell GraphQL implementation +description: This package provides a rudimentary parser for the language. +category: Language +homepage: https://github.com/caraus-ecms/graphql#readme +bug-reports: https://github.com/caraus-ecms/graphql/issues +author: Danny Navarro , + Matthías Páll Gissurarson , + Sólrún Halla Einarsdóttir +maintainer: belka@caraus.de +copyright: (c) 2019-2020 Eugen Wissner, + (c) 2015-2017 J. Daniel Navarro +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + CHANGELOG.md + README.md + LICENSE + 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/caraus-ecms/graphql + +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.Type + Language.GraphQL.Type.In + Language.GraphQL.Type.Out + other-modules: + Language.GraphQL.Execute.Execution + Language.GraphQL.Execute.Transform + Language.GraphQL.Type.Definition + Language.GraphQL.Type.Directive + Language.GraphQL.Type.Schema + hs-source-dirs: + src + build-depends: + aeson + , base >=4.7 && <5 + , containers + , megaparsec + , parser-combinators + , scientific + , text + , transformers + , unordered-containers + , vector + default-language: Haskell2010 + +test-suite tasty + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + Language.GraphQL.AST.EncoderSpec + Language.GraphQL.AST.LexerSpec + Language.GraphQL.AST.ParserSpec + Language.GraphQL.ErrorSpec + Language.GraphQL.Execute.CoerceSpec + Language.GraphQL.ExecuteSpec + Language.GraphQL.Type.OutSpec + Test.DirectiveSpec + Test.FragmentSpec + Test.KitchenSinkSpec + Test.RootOperationSpec + Test.StarWars.Data + Test.StarWars.QuerySpec + Test.StarWars.Schema + Paths_graphql + hs-source-dirs: + tests + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + QuickCheck + , aeson + , base >=4.7 && <5 + , containers + , graphql + , hspec + , hspec-expectations + , hspec-megaparsec + , megaparsec + , parser-combinators + , raw-strings-qq + , scientific + , text + , transformers + , unordered-containers + , vector + default-language: Haskell2010