packages feed

servant-ede-0.4: servant-ede.cabal

-- Initial servant-ede.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                servant-ede
version:             0.4
synopsis:            Combinators for rendering EDE templates in servant web applications
description:
  Combinators for rendering EDE templates in servant web applications.
  .
  Documentation and examples available at "Servant.HTML.EDE".
homepage:            http://github.com/alpmestan/servant-ede
license:             BSD3
license-file:        LICENSE
author:              Alp Mestanogullari
maintainer:          alpmestan@gmail.com
copyright:           2015 Alp Mestanogullari
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  exposed-modules:     Servant.HTML.EDE
  other-modules:
      Servant.HTML.EDE.Internal
    , Servant.HTML.EDE.Internal.Reify
    , Servant.HTML.EDE.Internal.Templates
    , Servant.HTML.EDE.Internal.ToObject
    , Servant.HTML.EDE.Internal.Validate

  build-depends:
      aeson >= 0.8
    , base >=4.7 && <5
    , bytestring >= 0.10
    , filepath >= 1.2
    , ede >= 0.2
    , either >= 4
    , http-media >= 0.6
    , http-types >= 0.8
    , semigroups >= 0.16
    , servant >= 0.4
    , servant-server >= 0.4
    , text >= 1.0
    , transformers >= 0.4
    , unordered-containers >= 0.2
    , wai >= 3.0

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


executable servant-ede-example
  main-is: example.hs
  hs-source-dirs: example
  default-language: Haskell2010
  build-depends:
      base >= 4.7 && <5
    , ede
    , servant-server
    , servant-ede
    , warp >= 3.0