packages feed

wai-middleware-cache-0.3.3: wai-middleware-cache.cabal

name:           wai-middleware-cache
version:        0.3.3
cabal-version:  >= 1.8
build-type:     Simple
stability:      Stable
author:         Alexander Dorofeev <aka.spin@gmail.com>
maintainer:     Alexander Dorofeev <aka.spin@gmail.com>
synopsis:       Caching middleware for WAI.
homepage:       https://github.com/akaspin/wai-middleware-cache
bug-reports:    https://github.com/akaspin/wai-middleware-cache/issues
description:    This package provides cache middleware and abstract type for
    creating cache backends.
license:        BSD3
license-file:   LICENSE
category:       Web

source-repository head
  type:      git
  location:  git://github.com/akaspin/wai-middleware-cache.git

library
  hs-source-dirs:   src
  build-depends:    base >= 4 && < 5,
                   binary,
                   blaze-builder-conduit >= 0.4,
                   bytestring >= 0.9 && < 0.10,
                   conduit >= 0.4 && < 0.5,
                   crypto-conduit,
                   http-types >= 0.6 && < 0.7,
                   pureMD5,
                   wai >= 1.2
  ghc-options:      -Wall
  exposed-modules:  Network.Wai.Middleware.Cache

test-suite test
  type:            exitcode-stdio-1.0
  x-uses-tf:       true
  build-depends:   
                   base >= 4,
                   HUnit >= 1.2 && < 2,
                   QuickCheck >= 2.4,
                   test-framework >= 0.4.1,
                   test-framework-quickcheck2,
                   test-framework-hunit,

                   wai-middleware-cache,

                   wai,
                   bytestring >= 0.9 && < 0.10,
                   wai-test,
                   http-types
  ghc-options:     -Wall -rtsopts
  hs-source-dirs:  test
  main-is:         Main.hs