packages feed

servant-dhall-0.3: servant-dhall.cabal

cabal-version:      >=1.10
name:               servant-dhall
version:            0.3
synopsis:           Servant Dhall content-type
description:
  Servant Dhall bindings.
  .
  Provides @MimeRender@ and @MimeUnrender@ instances.
  So you can accept and return Dhall expressions.
  .
  /Note:/ Reading (and evaluating) Dhall expressions from untrusted sources is a security risk.

homepage:           http://haskell-servant.readthedocs.org/
license:            BSD3
license-file:       LICENSE
author:             Servant Contributors
maintainer:         haskell-servant-maintainers@googlegroups.com
copyright:          2018-2019 Servant Contributors
category:           Web, Servant, Dhall
build-type:         Simple
bug-reports:        http://github.com/haskell-servant/servant-dhall/issues
tested-with:        GHC ==8.0.2 || ==8.2.2 || ==8.4.3 || ==8.6.5 || ==8.8.2
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type:     git
  location: http://github.com/haskell-servant/servant-dhall.git

library
  exposed-modules:  Servant.Dhall
  build-depends:
      base           >=4.9      && <4.14
    , base-compat    >=0.10.1   && <0.12
    , bytestring     >=0.10.4.0 && <0.11
    , dhall          >=1.29.0   && <1.30
    , either         >=5.0.1.1  && <5.1
    , http-media     >=0.7.1.2  && <0.9
    , megaparsec     >=7.0.4    && <8.1
    , prettyprinter  >=1.5.1    && <1.7
    , servant        >=0.17     && <0.18
    , text           >=1.2.3.0  && <1.3

  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall

test-suite example
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   example
  ghc-options:      -Wall
  build-depends:
      base
    , base-compat
    , bytestring
    , dhall
    , http-media
    , servant
    , servant-dhall
    , servant-server  >=0.12     && <0.18
    , wai             >=3.0.3.0  && <3.3
    , warp            >=3.0.13.1 && <3.4

  default-language: Haskell2010