File: http-streams.cabal

package info (click to toggle)
haskell-http-streams 0.8.9.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: haskell: 1,972; makefile: 4
file content (149 lines) | stat: -rw-r--r-- 4,918 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
cabal-version:       1.24
name:                http-streams
version:             0.8.9.9
synopsis:            An HTTP client using io-streams
description:
 An HTTP client, using the Snap Framework's 'io-streams' library to
 handle the streaming IO. The API is optimized for ease of use for the
 rather common case of code needing to query web services and deal with
 the result.
 .
 The library is exported in a single module; see "Network.Http.Client"
 for full documentation.

license:             BSD3
license-file:        LICENSE
author:              Andrew Cowie <istathar@gmail.com>
maintainer:          Andrew Cowie <istathar@gmail.com>
copyright:           © 2012-2023 Athae Eredh Siniath and Others
category:            Web, IO-Streams
tested-with:         GHC == 8.10.7, GHC == 9.2.7, GHC == 9.4.5
stability:           experimental
homepage:            https://github.com/aesiniath/http-streams/
bug-reports:         https://github.com/aesiniath/http-streams/issues
extra-source-files:  README.md CHANGELOG.md
                     tests/MockServer.hs
                     tests/TestSuite.hs
                     tests/data-eu-gdp.json
                     tests/data-us-gdp.json
                     tests/data-jp-gdp.json
                     tests/statler.jpg
                     tests/multipart.bin
                     tests/example1.txt
                     tests/example2.txt
                     tests/example3.txt
                     tests/example4.txt
                     tests/example5.txt
                     tests/hello.txt
                     tests/hello.html

build-type:          Simple

flag network-uri
   description: Get Network.URI from the network-uri package
   default: True

library
  default-language:  Haskell2010

  build-depends:     attoparsec,
                     base >= 4.5 && <5,
                     directory,
                     base64-bytestring,
                     blaze-builder >= 0.4,
                     bytestring,
                     case-insensitive,
                     filepath,
                     io-streams >= 1.3 && < 1.6,
                     HsOpenSSL >= 0.11.2,
                     openssl-streams >= 1.1 && < 1.4,
                     mtl,
                     transformers,
                     text,
                     unordered-containers,
                     aeson < 2.3,
                     attoparsec-aeson < 2.3,
                     http-common >= 0.8.3.4
  if flag(network-uri)
    build-depends: network-uri >= 2.6, network >= 2.6
  else
    build-depends: network-uri < 2.6, network < 2.6

  hs-source-dirs:    lib
  exposed-modules:   Network.Http.Client,
                     Network.Http.Connection,
                     Network.Http.ResponseParser,
                     Network.Http.Inconvenience
  other-modules:     Network.Http.Utilities

  ghc-options:       -Wall
                     -Wwarn
                     -fwarn-tabs
                     -funbox-strict-fields
                     -fno-warn-missing-signatures
                     -fno-warn-unused-binds
                     -fno-warn-unused-do-bind

  include-dirs:      .

  ghc-prof-options:  -fprof-auto-exported


test-suite           check
  type:              exitcode-stdio-1.0

  default-language:  Haskell2010

  build-depends:
                     HUnit,
                     HsOpenSSL,
                     lifted-base,
                     aeson-pretty,
                     attoparsec,
                     base,
                     directory,
                     blaze-builder,
                     base64-bytestring,
                     bytestring,
                     case-insensitive,
                     ghc-prim,
                     hspec,
                     hspec-expectations,
                     io-streams,
                     mtl,
                     transformers,
                     network >= 2.6,
                     network-uri >= 2.6,
                     openssl-streams >= 1.1    && < 1.4,
                     random,
                     snap-core       >= 1.0    && < 1.2,
                     snap-server     >= 1.1    && < 1.2,
                     text,
                     unordered-containers,
                     aeson,
                     http-common  >= 0.8.2,
                     http-streams

  hs-source-dirs:    tests
  main-is:           check.hs
  other-modules:     TestSuite
                     MockServer

  ghc-options:       -threaded
                     -Wall
                     -Wwarn
                     -fwarn-tabs
                     -funbox-strict-fields
                     -fno-warn-missing-signatures
                     -fno-warn-unused-binds
                     -fno-warn-unused-do-bind

  include-dirs:      .


source-repository    head
  type:              git
  location:          git://github.com/aesiniath/http-streams.git


-- vim: set tabstop=21 expandtab: