2015-04-23 13:07:52 +02:00
|
|
|
name: servant-examples
|
2015-05-09 02:28:05 +02:00
|
|
|
version: 0.4
|
2015-04-23 13:07:52 +02:00
|
|
|
synopsis: Example programs for servant
|
2015-04-24 14:00:57 +02:00
|
|
|
description: Example programs for servant,
|
|
|
|
showcasing solutions to common needs.
|
2015-04-23 13:07:52 +02:00
|
|
|
homepage: http://haskell-servant.github.io/
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Alp Mestanogullari
|
|
|
|
maintainer: alpmestan@gmail.com
|
2015-05-09 02:28:05 +02:00
|
|
|
-- copyright:
|
2015-04-23 13:07:52 +02:00
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2015-05-10 13:39:18 +02:00
|
|
|
executable tutorial
|
|
|
|
main-is: tutorial.hs
|
|
|
|
other-modules: T1, T2, T3, T4, T5, T6, T7, T8, T9, T10
|
2015-05-05 18:00:10 +02:00
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >= 4.7
|
2015-05-09 16:05:09 +02:00
|
|
|
, bytestring
|
2015-05-06 15:07:49 +02:00
|
|
|
, directory
|
2015-05-05 18:00:10 +02:00
|
|
|
, either
|
2015-05-09 16:05:09 +02:00
|
|
|
, http-types
|
2015-05-09 12:27:45 +02:00
|
|
|
, js-jquery
|
2015-05-06 13:36:04 +02:00
|
|
|
, lucid
|
2015-05-10 12:20:02 +02:00
|
|
|
, random
|
2015-05-05 18:00:10 +02:00
|
|
|
, servant
|
2015-05-09 16:05:09 +02:00
|
|
|
, servant-docs
|
2015-05-09 12:27:45 +02:00
|
|
|
, servant-jquery
|
2015-05-06 13:36:04 +02:00
|
|
|
, servant-lucid
|
2015-05-05 18:00:10 +02:00
|
|
|
, servant-server
|
2015-05-09 16:05:09 +02:00
|
|
|
, text
|
2015-05-05 18:00:10 +02:00
|
|
|
, time
|
2015-05-06 15:07:49 +02:00
|
|
|
, transformers
|
2015-05-05 21:50:24 +02:00
|
|
|
, wai
|
2015-05-05 18:00:10 +02:00
|
|
|
, warp
|
2015-05-10 13:39:18 +02:00
|
|
|
hs-source-dirs: tutorial
|
2015-05-05 18:00:10 +02:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
2015-05-10 13:39:18 +02:00
|
|
|
executable t8-main
|
|
|
|
main-is: t8-main.hs
|
|
|
|
hs-source-dirs: tutorial
|
2015-05-07 17:48:21 +02:00
|
|
|
default-language: Haskell2010
|
|
|
|
build-depends:
|
|
|
|
aeson
|
|
|
|
, base
|
|
|
|
, either
|
|
|
|
, servant
|
|
|
|
, servant-client
|
|
|
|
, servant-server
|
|
|
|
, wai
|
|
|
|
|
2015-04-23 13:07:52 +02:00
|
|
|
executable hackage
|
|
|
|
main-is: hackage.hs
|
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >=4.7
|
|
|
|
, either
|
2015-05-09 02:28:05 +02:00
|
|
|
, servant == 0.4.*
|
|
|
|
, servant-client == 0.4.*
|
2015-04-23 13:07:52 +02:00
|
|
|
, text
|
|
|
|
, transformers
|
|
|
|
hs-source-dirs: hackage
|
|
|
|
default-language: Haskell2010
|
2015-04-24 12:37:33 +02:00
|
|
|
|
|
|
|
executable wai-middleware
|
|
|
|
main-is: wai-middleware.hs
|
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >= 4.7
|
|
|
|
, servant
|
|
|
|
, servant-server
|
|
|
|
, text
|
|
|
|
, wai
|
|
|
|
, wai-extra
|
|
|
|
, warp
|
|
|
|
hs-source-dirs: wai-middleware
|
|
|
|
default-language: Haskell2010
|
2015-04-24 14:00:57 +02:00
|
|
|
|
|
|
|
executable auth-combinator
|
|
|
|
main-is: auth-combinator.hs
|
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >= 4.7
|
|
|
|
, bytestring
|
|
|
|
, http-types
|
|
|
|
, servant
|
2015-05-09 02:28:05 +02:00
|
|
|
, servant-server == 0.4.*
|
2015-04-24 14:00:57 +02:00
|
|
|
, text
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
hs-source-dirs: auth-combinator
|
|
|
|
default-language: Haskell2010
|