summaryrefslogtreecommitdiff
path: root/http-conduit.cabal
blob: 79e8d493103d20431e3a6485d11cf73016b2c592 (plain)
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
name:            http-conduit
version:         2.0.0.7
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        HTTP client package with conduit interface and HTTPS support.
description:
    This package uses conduit for parsing the actual contents of the HTTP connection. It also provides higher-level functions which allow you to avoid directly dealing with streaming data. See <http://www.yesodweb.com/book/http-conduit> for more information.
    .
    The @Network.HTTP.Conduit.Browser@ module has been moved to <http://hackage.haskell.org/package/http-conduit-browser/>
    .
    The @Network.HTTP.Conduit.MultipartFormData@ module has been moved to <http://hackage.haskell.org/package/http-client-multipart/>
category:        Web, Conduit
stability:       Stable
cabal-version:   >= 1.8
build-type:      Simple
homepage:        http://www.yesodweb.com/book/http-conduit
extra-source-files: test/main.hs
                  , test/CookieTest.hs
                  , multipart-example.bin
                  , nyan.gif
                  , certificate.pem
                  , key.pem

library
    build-depends: base                  >= 4       && < 5
                 , bytestring            >= 0.9.1.4
                 , transformers          >= 0.2
                 , resourcet             >= 0.3     && < 0.5
                 , conduit               >= 0.5.5   && < 1.1
                 , http-types            >= 0.7
                 , lifted-base           >= 0.1
                 , http-client           >= 0.2.0.2
                 , http-client-tls
                 , http-client-conduit
    exposed-modules: Network.HTTP.Conduit
    ghc-options:     -Wall

test-suite test
    main-is: main.hs
    type: exitcode-stdio-1.0
    hs-source-dirs: test

    ghc-options:   -Wall
    cpp-options:   -DDEBUG
    build-depends: base >= 4 && < 5
                 , HUnit
                 , hspec >= 1.3
                 , data-default-class
                 , connection >= 0.2
                 , warp-tls
                 , time
                 , blaze-builder
                 , bytestring
                 , text
                 , transformers
                 , conduit
                 , utf8-string
                 , case-insensitive
                 , lifted-base
                 , network
                 , wai >= 2.0 && < 2.1
                 , warp >= 2.0 && < 2.1
                 , http-types
                 , cookie
                 , network-conduit >= 0.6
                 , http-client
                 , http-conduit
                 , http-client-multipart

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