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-05 18:00:10 +02:00
|
|
|
executable getting-started-1
|
|
|
|
main-is: GS1.hs
|
|
|
|
build-depends:
|
|
|
|
aeson >= 0.8
|
|
|
|
, base >= 4.7
|
|
|
|
, either
|
|
|
|
, servant
|
|
|
|
, servant-server
|
|
|
|
, time
|
|
|
|
, warp
|
|
|
|
hs-source-dirs: getting-started
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
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
|