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.
|
All rights reserved.
|
||||||
|
|
||||||
|
146
graphql.cabal
146
graphql.cabal
@ -1,69 +1,85 @@
|
|||||||
name: graphql
|
cabal-version: 1.12
|
||||||
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
|
-- This file has been generated from package.yaml by hpack version 0.31.1.
|
||||||
default-language: Haskell2010
|
--
|
||||||
ghc-options: -Wall
|
-- see: https://github.com/sol/hpack
|
||||||
exposed-modules: Data.GraphQL
|
--
|
||||||
Data.GraphQL.AST
|
-- hash: 5e8ecb58b182478576a725b6da5466c8e71db7dda7735397006e2b14406ee3ad
|
||||||
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
|
name: graphql
|
||||||
default-language: Haskell2010
|
version: 0.3
|
||||||
type: exitcode-stdio-1.0
|
synopsis: Haskell GraphQL implementation
|
||||||
hs-source-dirs: tests
|
description: This package provides a rudimentary parser for the <https://facebook.github.io/graphql/ GraphQL> language.
|
||||||
main-is: tasty.hs
|
category: Web
|
||||||
ghc-options: -Wall
|
homepage: https://github.com/jdnavarro/graphql-haskell
|
||||||
other-modules: Paths_graphql
|
bug-reports: https://github.com/jdnavarro/graphql-haskell/issues
|
||||||
Test.StarWars.Data
|
author: Danny Navarro,
|
||||||
Test.StarWars.Schema
|
Matthías Páll Gissurarson,
|
||||||
Test.StarWars.QueryTests
|
Sólrún Halla Einarsdóttir
|
||||||
build-depends: aeson >= 0.7.0.3,
|
maintainer: j@dannynavarro.net
|
||||||
attoparsec >= 0.10.4.0,
|
copyright: Copyright (C) 2015-2019 J. Daniel Navarro
|
||||||
base >= 4.6 && <5,
|
license: BSD3
|
||||||
graphql,
|
license-file: LICENSE
|
||||||
raw-strings-qq >= 1.1,
|
build-type: Simple
|
||||||
tasty >= 0.10,
|
extra-source-files:
|
||||||
tasty-hunit >= 0.9,
|
CHANGELOG.md
|
||||||
text >= 0.11.3.1,
|
README.md
|
||||||
unordered-containers >= 0.2.5.0
|
LICENSE
|
||||||
|
TODO
|
||||||
|
docs/tutorial/tutorial.lhs
|
||||||
|
data-files:
|
||||||
|
tests/data/kitchen-sink.graphql
|
||||||
|
tests/data/kitchen-sink.min.graphql
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
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:
|
packages:
|
||||||
- '.'
|
- '.'
|
||||||
extra-deps: []
|
extra-deps: []
|
||||||
|
Loading…
Reference in New Issue
Block a user