File: snap-core-testsuite.cabal

package info (click to toggle)
haskell-snap-core 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: haskell: 6,767; sh: 55; ansic: 22; makefile: 2
file content (82 lines) | stat: -rw-r--r-- 2,655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name:           snap-core-testsuite
version:        0.1.1
build-type:     Simple
cabal-version:  >= 1.6

Flag portable
  Description: Compile in cross-platform mode. No platform-specific code or
               optimizations such as C routines will be used.
  Default: False

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

  if flag(portable) || os(windows)
    cpp-options: -DPORTABLE
  else
    c-sources: ../cbits/timefuncs.c
    include-dirs: ../cbits
    build-depends: bytestring-mmap >= 0.2.2 && <0.3,
                   unix >= 2.4 && <3.0
    cpp-options: -DUSE_UNIX

  build-depends:
    QuickCheck                 >= 2.3.0.2  && <3,
    attoparsec                 >= 0.10     && <0.11,
    attoparsec-enumerator      >= 0.3,
    base                       >= 4        && <5,
    base16-bytestring          >= 0.1      && <0.2,
    blaze-builder              >= 0.2.1.4  && <0.4,
    blaze-builder-enumerator   >= 0.2      && <0.3,
    bytestring,
    bytestring-nums,
    case-insensitive           >= 0.3      && <0.5,
    cereal                     >= 0.3      && <0.4,
    containers,
    deepseq                    >= 1.1      && <1.4,
    directory,
    dlist                      >= 0.5      && <0.6,
    filepath,
    HUnit                      >= 1.2      && <2,
    enumerator                 >= 0.4.13.1 && <0.5,
    MonadCatchIO-transformers  >= 0.2      && <0.4,
    mtl                        >= 2        && <3,
    mwc-random                 >= 0.10     && <0.13,
    old-locale,
    old-time,
    parallel                   >= 3        && <4,
    pureMD5                    == 2.1.*,
    regex-posix                >= 0.94.4   && <0.96,
    test-framework             >= 0.6      && <0.7,
    test-framework-hunit       >= 0.2.7    && <0.3,
    test-framework-quickcheck2 >= 0.2.12.1 && <0.3,
    text                       >= 0.11     && <0.12,
    time,
    transformers,
    unix-compat                >= 0.2      && <0.4,
    unordered-containers       >= 0.1.4.3  && <0.3,
    vector                     >= 0.6      && <0.10,
    zlib,
    zlib-enum                  >= 0.2.1    && <0.3

  extensions:
    BangPatterns,
    CPP,
    PackageImports,
    ScopedTypeVariables,
    EmptyDataDecls,
    ForeignFunctionInterface,
    OverloadedStrings,
    Rank2Types,
    TypeSynonymInstances,
    FlexibleInstances,
    ExistentialQuantification,
    OverloadedStrings,
    FlexibleContexts,
    GeneralizedNewtypeDeriving,
    DeriveDataTypeable,
    MultiParamTypeClasses

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