File: hxt-http.cabal

package info (click to toggle)
haskell-hxt-http 9.1.5.2-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 76 kB
  • sloc: haskell: 261; makefile: 2
file content (61 lines) | stat: -rw-r--r-- 1,751 bytes parent folder | download | duplicates (5)
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
Name:           hxt-http
Version:        9.1.5.2
Synopsis:       Interface to native Haskell HTTP package HTTP
Description:    Interface to native Haskell HTTP package HTTP.
                This package can be used as alternative for the hxt-curl package
                for accessing documents via HTTP.
                .
                Changes from 9.1.3: Works with ghc-7.10
                .
                Changes to 9.1.3: New warnings from ghc-7.4 removed
License:        MIT
License-file:   LICENSE
Author:         Uwe Schmidt
Maintainer:     Uwe Schmidt <uwe@fh-wedel.de>
Stability:      Experimental
Category:       XML
Homepage:       https://github.com/UweSchmidt/hxt
Copyright:      Copyright (c) 2011 Uwe Schmidt
Build-type:     Simple
Cabal-version:  >=1.6

flag network-uri
  description: Get Network.URI from the network-uri package,
               with ghc <  7.10 default is False,
               with ghc >= 7.10 default is True 
  default: False

library
 exposed-modules:
  Text.XML.HXT.HTTP

 other-modules:
  Text.XML.HXT.Arrow.LibHTTPInput,
  Text.XML.HXT.IO.GetHTTPNative

 hs-source-dirs: src

 ghc-options: -Wall
 ghc-prof-options: -caf-all

 extensions:

 build-depends: base       >= 4    && < 5,
                parsec     >= 2.1  && < 4,
                bytestring >= 0.9  && < 1,
                HTTP       >= 4000 && < 5000,
                hxt        >= 9.1  && < 10

 if flag(network-uri)
   build-depends: network-uri >= 2.6,
                  network     >= 2.6
 else
   if impl(ghc >= 7.10)
     build-depends: network-uri >= 2.6,
                    network     >= 2.6
   else
     build-depends: network >= 2.4 && < 2.6

Source-Repository head
  Type:     git
  Location: git://github.com/UweSchmidt/hxt.git