forked from OSS/graphql
Add package.yaml, update stack snapshot to 13.25
This commit is contained in:
parent
40f9024b51
commit
ce169ecef2
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright J. Daniel Navarro (c) 2015
|
||||
Copyright J. Daniel Navarro (c) 2015-2019
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
130
graphql.cabal
130
graphql.cabal
@ -1,69 +1,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.
|
||||
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
|
||||
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
|
||||
extra-source-files:
|
||||
CHANGELOG.md
|
||||
README.md
|
||||
LICENSE
|
||||
TODO
|
||||
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.AST.Transform
|
||||
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
|
||||
data-files:
|
||||
tests/data/kitchen-sink.graphql
|
||||
tests/data/kitchen-sink.min.graphql
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/jdnavarro/graphql-haskell.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
|
||||
|
53
package.yaml
Normal file
53
package.yaml
Normal file
@ -0,0 +1,53 @@
|
||||
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
|
||||
maintainer: j@dannynavarro.net
|
||||
copyright: Copyright (C) 2015-2019 J. Daniel Navarro
|
||||
category: Web
|
||||
github: jdnavarro/graphql-haskell
|
||||
author:
|
||||
- Danny Navarro
|
||||
- Matthías Páll Gissurarson
|
||||
- Sólrún Halla Einarsdóttir
|
||||
|
||||
extra-source-files:
|
||||
- CHANGELOG.md
|
||||
- README.md
|
||||
- LICENSE
|
||||
- TODO
|
||||
- docs/tutorial/tutorial.lhs
|
||||
|
||||
data-files:
|
||||
- tests/data/*.graphql
|
||||
- tests/data/*.min.graphql
|
||||
|
||||
dependencies:
|
||||
- aeson
|
||||
- attoparsec
|
||||
- base >= 4.7 && < 5
|
||||
- semigroups
|
||||
- text
|
||||
- unordered-containers
|
||||
|
||||
library:
|
||||
source-dirs: .
|
||||
dependencies:
|
||||
- scientific
|
||||
|
||||
tests:
|
||||
tasty:
|
||||
main: tasty.hs
|
||||
source-dirs: tests
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- graphql
|
||||
- raw-strings-qq
|
||||
- tasty
|
||||
- tasty-hunit
|
@ -1,4 +1,4 @@
|
||||
resolver: lts-5.3
|
||||
resolver: lts-13.25
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps: []
|
||||
|
Loading…
Reference in New Issue
Block a user