packages feed

scotty-rest-0.1.0.0: scotty-rest.cabal

name:                scotty-rest
version:             0.1.0.0
synopsis:            Webmachine-style REST library for scotty
homepage:            http://github.com/ehamberg/scotty-rest
license:             BSD3
license-file:        LICENSE
author:              Erlend Hamberg
maintainer:          erlend@hamberg.no
copyright:           2015, Erlend Hamberg
category:            Web
build-type:          Simple
cabal-version:       >=1.10
description:
  Webmachine-like REST library for Scotty.

extra-source-files:
    examples/HelloWorld.hs
    examples/Parameters.hs
    examples/Database.hs

library
  exposed-modules:  Web.Scotty.Rest
  other-modules:    Web.Scotty.Rest.Types
  default-language: Haskell2010
  hs-source-dirs:   src

  build-depends: base               >= 4.7   && < 5
               , base-prelude
               , bytestring         >= 0.10  && < 0.11
               , convertible        >= 1.1   && < 1.2
               , data-default-class >= 0.0.1 && < 0.1
               , http-date          >= 0.0.1 && < 0.1
               , http-media         >= 0.6   && < 0.7
               , http-types         >= 0.8   && < 0.9
               , mtl                >= 2.1   && < 2.3
               , scotty             >= 0.10  && < 0.11
               , string-conversions >= 0.4   && < 0.5
               , text               >= 1.2   && < 1.3
               , time               >= 1.4   && < 1.6
               , transformers       >= 0.3   && < 0.5
               , wai                >= 3.0   && < 3.1
               , wai-extra          >= 3.0   && < 3.1
  default-language:    Haskell2010
  GHC-options: -Wall

test-suite spec
  main-is:          Spec.hs
  type:             exitcode-stdio-1.0
  other-modules:    Web.ScottyRestSpec
  default-language: Haskell2010
  hs-source-dirs:   test
  build-depends: base
               , bytestring
               , hspec
               , hspec-wai >= 0.6
               , mtl
               , QuickCheck
               , scotty
               , scotty-rest
               , string-conversions
               , text
               , wai
  GHC-options: -Wall -threaded -fno-warn-orphans

source-repository head
  type:     git
  location: git://github.com/ehamberg/scotty-rest.git