gql2hs/package.yaml

96 lines
2.0 KiB
YAML

name: gql2hs
version: 0.1.0.0
github: "fredefox/gql2hs"
license: BSD3
author: "Frederik Hanghøj Iversen"
maintainer: "fhanghojiversen@zendesk.com"
copyright: "2019 Frederik Hanghøj Iversen"
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/fredefox/gql2hs#readme>
dependencies:
- base >= 4.7 && < 5
- graphql-api
- haskell-src-exts
- text
- attoparsec
library:
source-dirs: src
executables:
gql2hs:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- gql2hs
tests:
test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- gql2hs
default-extensions:
- BangPatterns
- BinaryLiterals
- ConstraintKinds
- DefaultSignatures
- DeriveAnyClass
- DeriveDataTypeable
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- DisambiguateRecordFields
- DuplicateRecordFields
- EmptyCase
- EmptyDataDecls
- ExistentialQuantification
- ExplicitForAll
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralisedNewtypeDeriving
- InstanceSigs
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- NamedWildCards
- NumDecimals
- PackageImports
- PartialTypeSignatures
- QuasiQuotes
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TypeApplications
- TypeFamilies
- UnicodeSyntax
- OverloadedStrings