2015-04-23 13:07:52 +02:00
|
|
|
name: servant-examples
|
2015-07-27 22:26:49 +02:00
|
|
|
version: 0.5
|
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-07-09 23:34:21 +02:00
|
|
|
bug-reports: http://github.com/haskell-servant/servant/issues
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: http://github.com/haskell-servant/servant.git
|
2015-04-23 13:07:52 +02:00
|
|
|
|
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-09-23 19:05:27 +02:00
|
|
|
ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing -fno-warn-orphans -fno-warn-unused-imports
|
2015-05-05 18:00:10 +02:00
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
2015-05-10 14:38:23 +02:00
|
|
|
, base >= 4.7 && < 5
|
2015-05-09 16:05:09 +02:00
|
|
|
, bytestring
|
2015-05-06 15:07:49 +02:00
|
|
|
, directory
|
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-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-docs == 0.5.*
|
|
|
|
, servant-js == 0.5.*
|
|
|
|
, servant-lucid == 0.5.*
|
|
|
|
, servant-server == 0.5.*
|
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-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
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
|
2015-09-23 18:26:05 +02:00
|
|
|
other-modules: T3, T8
|
2015-05-10 13:39:18 +02:00
|
|
|
hs-source-dirs: tutorial
|
2015-05-07 17:48:21 +02:00
|
|
|
default-language: Haskell2010
|
2015-09-23 18:26:05 +02:00
|
|
|
ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
|
2015-05-07 17:48:21 +02:00
|
|
|
build-depends:
|
|
|
|
aeson
|
2015-05-10 14:38:23 +02:00
|
|
|
, base >= 4.7 && < 5
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-client == 0.5.*
|
|
|
|
, servant-server == 0.5.*
|
2015-09-12 14:11:24 +02:00
|
|
|
, transformers
|
2015-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
2015-05-07 17:48:21 +02:00
|
|
|
, wai
|
|
|
|
|
2015-04-23 13:07:52 +02:00
|
|
|
executable hackage
|
|
|
|
main-is: hackage.hs
|
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
2015-05-10 14:38:23 +02:00
|
|
|
, base >=4.7 && < 5
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-client == 0.5.*
|
2015-04-23 13:07:52 +02:00
|
|
|
, text
|
|
|
|
, transformers
|
2015-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
2015-04-23 13:07:52 +02:00
|
|
|
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
|
2015-05-10 14:38:23 +02:00
|
|
|
, base >= 4.7 && < 5
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-server == 0.5.*
|
2015-04-24 12:37:33 +02:00
|
|
|
, 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
|
2015-09-23 19:05:27 +02:00
|
|
|
ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
|
2015-04-24 14:00:57 +02:00
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
2015-05-10 14:38:23 +02:00
|
|
|
, base >= 4.7 && < 5
|
2015-04-24 14:00:57 +02:00
|
|
|
, bytestring
|
|
|
|
, http-types
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-server == 0.5.*
|
2015-04-24 14:00:57 +02:00
|
|
|
, text
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
hs-source-dirs: auth-combinator
|
|
|
|
default-language: Haskell2010
|
2015-07-22 23:50:03 +02:00
|
|
|
|
|
|
|
executable socket-io-chat
|
|
|
|
main-is: socket-io-chat.hs
|
2015-09-23 19:05:27 +02:00
|
|
|
ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
|
2015-09-23 18:26:05 +02:00
|
|
|
other-modules: Chat
|
2015-07-22 23:50:03 +02:00
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >= 4.7 && < 5
|
|
|
|
, bytestring
|
|
|
|
, http-types
|
|
|
|
, servant == 0.5.*
|
|
|
|
, servant-server == 0.5.*
|
|
|
|
, socket-io
|
|
|
|
, engine-io
|
|
|
|
, engine-io-wai
|
|
|
|
, text
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
, transformers
|
|
|
|
, stm
|
|
|
|
, mtl
|
|
|
|
ghc-options: -Wall -O2 -threaded
|
|
|
|
hs-source-dirs: socket-io-chat
|
|
|
|
default-language: Haskell2010
|