-- Initial yesod-csp.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                yesod-csp
version:             0.2.6.0
synopsis:            Add CSP headers to Yesod apps
description:         Add CSP headers to Yesod apps. This helps reduce exposure to XSS attacks and bad assets.
license:             MIT
license-file:        LICENSE
author:              Bob Long
maintainer:          Pascal Wittmann <mail@pascal-wittmann.de>
category:            Web
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  ./CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/pSub/yesod-csp.git

library
  exposed-modules:     Yesod.Csp
                       , Yesod.Csp.Example
                       , Yesod.Csp.TH
  -- other-extensions:
  build-depends:       base < 5
                       , text >= 2.0.2 && < 2.2
                       , yesod-core >= 1.6.25 && < 1.7
                       , semigroups >= 0.20 && < 0.21
                       , network-uri >= 2.6.4 && < 2.7
                       , yesod >= 1.6.2 && < 1.7
                       , mono-traversable >= 1.0.15 && < 1.1
                       , attoparsec >= 0.14.4 && < 0.15
                       , template-haskell >= 2.19.0 && < 2.22
                       , syb >= 0.7.2 && < 0.8
                       , wai >= 3.2.3 && < 3.3
                       , case-insensitive >= 1.2.1 && < 1.3
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite tests
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  main-is:             Test.hs
  hs-source-dirs:      test
  build-depends:       base
                       , yesod-csp
                       , yesod-test
                       , semigroups
                       , yesod
                       , hspec
                       , network-uri
                       , attoparsec
                       , template-haskell
  default-language:    Haskell2010