packages feed

web-routes-quasi-0.7.1.1: web-routes-quasi.cabal

name:            web-routes-quasi
version:         0.7.1.1
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Define data types and parse/build functions for web-routes via a quasi-quoted DSL (deprecated)
category:        Web, Yesod
stability:       unstable
cabal-version:   >= 1.6
build-type:      Simple
homepage:        http://docs.yesodweb.com/web-routes-quasi/

flag buildtests
  description: Build the executable to run unit tests
  default: False

library
    build-depends:   base             >= 4       && < 5
                   , template-haskell
                   , path-pieces      >= 0.0     && < 0.1
                   , text             >= 0.5     && < 0.12
    exposed-modules: Web.Routes.Quasi
                     Web.Routes.Quasi.Classes
                     Web.Routes.Quasi.Parse
                     Web.Routes.Quasi.TH
    ghc-options:     -Wall

executable             runtests
    if flag(buildtests)
        Buildable: True
        cpp-options:   -DTEST
        build-depends: QuickCheck >= 2 && < 3,
                       HUnit,
                       test-framework,
                       test-framework-hunit,
                       test-framework-quickcheck2,
                       bytestring,
                       wai,
                       web-encodings >= 0.2.6.1 && < 0.3,
                       wai-extra
    else
        Buildable: False
    main-is:         runtests.hs

source-repository head
  type:     git
  location: git://github.com/snoyberg/web-routes-quasi.git