packages feed

wai-middleware-static-0.9.4: wai-middleware-static.cabal

Name:                wai-middleware-static
Version:             0.9.4
Synopsis:            WAI middleware that serves requests to static files.
Homepage:            https://github.com/scotty-web/wai-middleware-static
Bug-reports:         https://github.com/scotty-web/wai-middleware-static/issues
License:             BSD3
License-file:        LICENSE
Author:              Andrew Farmer <afarmer@ittc.ku.edu>
Maintainer:          Andrew Farmer <afarmer@ittc.ku.edu>
Copyright:           (c) 2012-2014 Andrew Farmer
Category:            Web
Stability:           experimental
Build-type:          Simple
Cabal-version:       >= 1.10
Description:
  WAI middleware that intercepts requests to static files and serves them
  if they exist.
  .
  [WAI] <http://hackage.haskell.org/package/wai>
tested-with:         GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.4
                   , GHC == 8.10.7
                   , GHC == 9.0.2
                   , GHC == 9.2.8
                   , GHC == 9.4.8
                   , GHC == 9.6.7
                   , GHC == 9.8.4
                   , GHC == 9.10.3
                   , GHC == 9.12.2
                   , GHC == 9.14.1
Extra-source-files:  changelog.md, README.md

Library
  Exposed-modules:     Network.Wai.Middleware.Static
  default-language:    Haskell2010
  Build-depends:
                       base               >= 4.9      && < 5,
                       base16-bytestring  >= 0.1      && < 1.1,
                       bytestring         >= 0.10.0.2 && < 0.13,
                       cryptohash-sha1    >= 0.11     && < 0.12,
                       directory          >= 1.2.0.1  && < 1.4,
                       expiring-cache-map >= 0.0.5    && < 0.1,
                       filepath           >= 1.3.0.1  && < 1.6,
                       http-types         >= 0.8.2    && < 0.13,
                       mime-types         >= 0.1.0.3  && < 0.2,
                       text               >= 0.11.3.1 && < 2.2,
                       time               >= 1.6.0.1  && < 1.16,
                       wai                >= 3.0.0    && < 3.3

  GHC-options: -Wall -Wno-orphans

test-suite spec
  main-is:             Spec.hs
  other-modules:       Network.Wai.Middleware.StaticSpec
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test
  build-depends:       base,
                       hspec == 2.*,
                       hspec-expectations-lifted,
                       hspec-wai >= 0.6.3,
                       mockery,
                       scotty,
                       wai-extra,
                       http-types,
                       wai-middleware-static
  build-tool-depends:  hspec-discover:hspec-discover == 2.*
  GHC-options:         -Wall

source-repository head
  type:     git
  location: https://github.com/scotty-web/wai-middleware-static.git