File: conduit-extra.cabal

package info (click to toggle)
haskell-conduit-extra 1.1.13.3-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 268 kB
  • ctags: 1
  • sloc: haskell: 2,672; makefile: 5
file content (119 lines) | stat: -rw-r--r-- 4,288 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Name:                conduit-extra
Version:             1.1.13.3
Synopsis:            Batteries included conduit: adapters for common libraries.
Description:
    The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit.
License:             MIT
License-file:        LICENSE
Author:              Michael Snoyman
Maintainer:          michael@snoyman.com
Category:            Data, Conduit
Build-type:          Simple
Cabal-version:       >=1.8
Homepage:            http://github.com/snoyberg/conduit
extra-source-files:
    test/random
    test/filesystem/*.txt
    test/filesystem/bin/*.txt
    ChangeLog.md
    README.md

Library
  Exposed-modules:     Data.Conduit.Attoparsec
                       Data.Conduit.Binary
                       Data.Conduit.Blaze
                       Data.Conduit.ByteString.Builder
                       Data.Conduit.Filesystem
                       Data.Conduit.Lazy
                       Data.Conduit.Network
                       Data.Conduit.Network.UDP
                       Data.Conduit.Process
                       Data.Conduit.Text
                       Data.Conduit.Zlib
  if !os(windows)
      Exposed-modules: Data.Conduit.Network.Unix

  if arch(x86_64) || arch(i386)
      -- These architectures are able to perform unaligned memory accesses
      cpp-options: -DALLOW_UNALIGNED_ACCESS

  Build-depends:       base                     >= 4.5          && < 5
                     , conduit                  >= 1.1          && < 1.3

                       -- No version bounds necessary, since they're inherited
                       -- from conduit.
                     , bytestring
                     , exceptions
                     , monad-control
                     , text
                     , transformers
                     , transformers-base

                     , async
                     , attoparsec               >= 0.10
                     , blaze-builder            >= 0.3
                     , directory
                     , filepath
                     , network                  >= 2.3
                     , primitive                >= 0.5
                     , process
                     , resourcet                >= 1.1
                     , stm
                     , streaming-commons        >= 0.1.16

  ghc-options:     -Wall

test-suite test
    hs-source-dirs: test
    main-is: Spec.hs
    type: exitcode-stdio-1.0
    ghc-options:   -threaded
    cpp-options:   -DTEST
    build-depends:   conduit
                   , conduit-extra
                   , base
                   , hspec >= 1.3

                   , async
                   , attoparsec
                   , blaze-builder
                   , bytestring >= 0.10.4
                   , exceptions
                   , process
                   , resourcet
                   , QuickCheck
                   , stm
                   , streaming-commons
                   , text
                   , transformers
                   , transformers-base
    ghc-options:     -Wall
    if os(windows)
        cpp-options: -DWINDOWS
    other-modules:   Data.Conduit.AttoparsecSpec
                     Data.Conduit.BinarySpec
                     Data.Conduit.ByteString.BuilderSpec
                     Data.Conduit.ExtraSpec
                     Data.Conduit.FilesystemSpec
                     Data.Conduit.LazySpec
                     Data.Conduit.NetworkSpec
                     Data.Conduit.ProcessSpec
                     Data.Conduit.TextSpec
                     Data.Conduit.ZlibSpec

benchmark blaze
    type:           exitcode-stdio-1.0
    hs-source-dirs: bench
    build-depends:  base
                  , blaze-builder
                  , conduit
                  , conduit-extra
                  , criterion
                  , bytestring
                  , transformers
    main-is:        blaze.hs
    ghc-options:    -Wall -O2 -rtsopts

source-repository head
  type:     git
  location: git://github.com/snoyberg/conduit.git