packages feed

snap-0.11.2.2: test/snap-testsuite.cabal

name:           snap-testsuite
version:        0.0.1
build-type:     Simple
cabal-version:  >= 1.8

Flag old-base
  default: False
  manual: False

Executable snap-testsuite
  hs-source-dirs:  ../src suite
  main-is:         TestSuite.hs

  build-depends:
    Glob                       >= 0.5      && < 0.8,
    HUnit                      >= 1.2      && < 2,
    QuickCheck                 >= 2.3.0.2,
    http-conduit               >= 1.7      && < 1.9,
    http-types                 >= 0.6      && < 0.8,
    process                    == 1.*,
    test-framework             >= 0.6      && < 0.7,
    test-framework-hunit       >= 0.2.7    && < 0.3,
    test-framework-quickcheck2 >= 0.2.12.1 && < 0.3,
    unix                       >= 2.2.0.0  && < 2.7,

    MonadCatchIO-transformers  >= 0.2      && < 0.4,
    aeson                      >= 0.6      && < 0.7,
    attoparsec                 >= 0.10     && < 0.11,
    bytestring                 >= 0.9.1    && < 0.11,
    cereal                     >= 0.3      && < 0.4,
    clientsession              >= 0.8      && < 0.10,
    comonad                    >= 1.1      && < 3.1,
    configurator               >= 0.1      && < 0.3,
    containers                 >= 0.3      && < 0.6,
    directory                  >= 1.0      && < 1.3,
    directory-tree             >= 0.10     && < 0.12,
    dlist                      >= 0.5      && < 0.6,
    errors                     >= 1.4      && < 1.5,
    filepath                   >= 1.1      && < 1.4,
    hashable                   >= 1.1      && < 1.2,
    heist                      >= 0.10     && < 0.12,
    logict                     >= 0.4.2    && < 0.6,
    mtl                        >  2.0      && < 2.2,
    mwc-random                 >= 0.8      && < 0.13,
    pwstore-fast               >= 2.2      && < 2.4,
    regex-posix                >= 0.95     && < 1,
    snap-core                  >= 0.9      && < 0.10,
    snap-server                >= 0.9      && < 0.10,
    stm                        >= 2.2      && < 2.5,
    syb                        >= 0.1      && < 0.5,
    text                       >= 0.11     && < 0.12,
    time                       >= 1.1      && < 1.5,
    transformers               >= 0.2      && < 0.4,
    unordered-containers       >= 0.1.4    && < 0.3,
    vector                     >= 0.7.1    && < 0.11,
    vector-algorithms          >= 0.4      && < 0.6,
    xmlhtml                    >= 0.1      && < 0.3

  if flag(old-base)
    build-depends:
      base                      >= 4        && < 4.4,
      lens                      >= 3.7.6    && < 3.8
  else
    build-depends:
      base                      >= 4.4      && < 5,
      lens                      >= 3.7.6    && < 3.10


  extensions:
    BangPatterns,
    CPP,
    DeriveDataTypeable,
    ExistentialQuantification,
    FlexibleContexts,
    FlexibleInstances,
    GeneralizedNewtypeDeriving,
    MultiParamTypeClasses,
    NoMonomorphismRestriction,
    OverloadedStrings,
    PackageImports,
    Rank2Types,
    ScopedTypeVariables,
    TemplateHaskell,
    TypeFamilies,
    TypeOperators,
    TypeSynonymInstances

  ghc-options: -O2 -Wall -fhpc -fwarn-tabs -funbox-strict-fields -threaded
               -fno-warn-unused-do-bind


Executable app
  hs-source-dirs:  ../src suite
  main-is:         AppMain.hs

  build-depends:
    MonadCatchIO-transformers  >= 0.2      && < 0.4,
    aeson                      >= 0.6      && < 0.7,
    attoparsec                 >= 0.10     && < 0.11,
    bytestring                 >= 0.9.1    && < 0.11,
    cereal                     >= 0.3      && < 0.4,
    clientsession              >= 0.8      && < 0.10,
    comonad                    >= 1.1      && < 3.1,
    configurator               >= 0.1      && < 0.3,
    containers                 >= 0.3      && < 0.6,
    directory                  >= 1.0      && < 1.3,
    directory-tree             >= 0.10     && < 0.12,
    dlist                      >= 0.5      && < 0.6,
    errors                     >= 1.4      && < 1.5,
    filepath                   >= 1.1      && < 1.4,
    hashable                   >= 1.1      && < 1.2,
    heist                      >= 0.10     && < 0.12,
    logict                     >= 0.4.2    && < 0.6,
    mtl                        >  2.0      && < 2.2,
    mwc-random                 >= 0.8      && < 0.13,
    pwstore-fast               >= 2.2      && < 2.4,
    regex-posix                >= 0.95     && < 1,
    snap-core                  >= 0.9      && < 0.10,
    snap-server                >= 0.9      && < 0.10,
    stm                        >= 2.2      && < 2.5,
    syb                        >= 0.1      && < 0.5,
    text                       >= 0.11     && < 0.12,
    time                       >= 1.1      && < 1.5,
    transformers               >= 0.2      && < 0.4,
    unordered-containers       >= 0.1.4    && < 0.3,
    vector                     >= 0.7.1    && < 0.11,
    vector-algorithms          >= 0.4      && < 0.6,
    xmlhtml                    >= 0.1      && < 0.3

  if flag(old-base)
    build-depends:
      base                      >= 4        && < 4.4,
      lens                      >= 3.7.6    && < 3.8
  else
    build-depends:
      base                      >= 4.4      && < 5,
      lens                      >= 3.7.6    && < 3.10

  extensions:
    BangPatterns,
    CPP,
    DeriveDataTypeable,
    ExistentialQuantification,
    FlexibleContexts,
    FlexibleInstances,
    GeneralizedNewtypeDeriving,
    MultiParamTypeClasses,
    NoMonomorphismRestriction,
    OverloadedStrings,
    PackageImports,
    Rank2Types,
    ScopedTypeVariables,
    TemplateHaskell,
    TypeFamilies,
    TypeOperators,
    TypeSynonymInstances

  ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields -threaded
               -fno-warn-unused-do-bind

Executable nesttest
  hs-source-dirs:  ../src suite
  main-is:         NestTest.hs

  build-depends:
    Glob                       >= 0.5      && < 0.8,
    HUnit                      >= 1.2      && < 2,
    QuickCheck                 >= 2.3.0.2,
    http-conduit               >= 1.7      && < 1.9,
    http-types                 >= 0.6      && < 0.8,
    process                    == 1.*,
    test-framework             >= 0.6      && < 0.7,
    test-framework-hunit       >= 0.2.7    && < 0.3,
    test-framework-quickcheck2 >= 0.2.12.1 && < 0.3,
    unix                       >= 2.2.0.0  && < 2.7,

    MonadCatchIO-transformers  >= 0.2      && < 0.4,
    aeson                      >= 0.6      && < 0.7,
    attoparsec                 >= 0.10     && < 0.11,
    bytestring                 >= 0.9.1    && < 0.11,
    cereal                     >= 0.3      && < 0.4,
    clientsession              >= 0.8      && < 0.10,
    comonad                    >= 1.1      && < 3.1,
    configurator               >= 0.1      && < 0.3,
    containers                 >= 0.3      && < 0.6,
    directory                  >= 1.0      && < 1.3,
    directory-tree             >= 0.10     && < 0.12,
    dlist                      >= 0.5      && < 0.6,
    errors                     >= 1.4      && < 1.5,
    filepath                   >= 1.1      && < 1.4,
    hashable                   >= 1.1      && < 1.2,
    heist                      >= 0.10     && < 0.12,
    logict                     >= 0.4.2    && < 0.6,
    mtl                        >  2.0      && < 2.2,
    mwc-random                 >= 0.8      && < 0.13,
    pwstore-fast               >= 2.2      && < 2.4,
    regex-posix                >= 0.95     && < 1,
    snap-core                  >= 0.9      && < 0.10,
    snap-server                >= 0.9      && < 0.10,
    stm                        >= 2.2      && < 2.5,
    syb                        >= 0.1      && < 0.5,
    text                       >= 0.11     && < 0.12,
    time                       >= 1.1      && < 1.5,
    transformers               >= 0.2      && < 0.4,
    unordered-containers       >= 0.1.4    && < 0.3,
    vector                     >= 0.7.1    && < 0.11,
    vector-algorithms          >= 0.4      && < 0.6,
    xmlhtml                    >= 0.1      && < 0.3

  if flag(old-base)
    build-depends:
      base                      >= 4        && < 4.4,
      lens                      >= 3.7.6    && < 3.8
  else
    build-depends:
      base                      >= 4.4      && < 5,
      lens                      >= 3.7.6    && < 3.10


  extensions:
    BangPatterns,
    CPP,
    DeriveDataTypeable,
    ExistentialQuantification,
    FlexibleContexts,
    FlexibleInstances,
    GeneralizedNewtypeDeriving,
    MultiParamTypeClasses,
    NoMonomorphismRestriction,
    OverloadedStrings,
    PackageImports,
    Rank2Types,
    ScopedTypeVariables,
    TemplateHaskell,
    TypeFamilies,
    TypeOperators,
    TypeSynonymInstances

  ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields -threaded
               -fno-warn-unused-do-bind