-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathHandsomeSoup.cabal
68 lines (61 loc) · 2.12 KB
/
HandsomeSoup.cabal
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
Name: HandsomeSoup
Version: 0.4.2
Synopsis: Work with HTML more easily in HXT
Description: See examples and full readme on the Github page: https:\/\/github.com\/egonSchiele\/HandsomeSoup
Homepage: https://github.com/egonSchiele/HandsomeSoup
License: BSD3
License-file: LICENSE
Author: Aditya Bhargava
Maintainer: bluemangroupie@gmail.com
Category: Text
Build-type: Simple
Cabal-version: >=1.8
Extra-source-files: README.markdown
, examples/*.hs
Data-files: tests/test.html
-- See comment at: http://hackage.haskell.org/package/network-uri
flag network-uri
description: Get Network.URI from the network-uri package
default: True
library
hs-source-dirs: src
Exposed-modules: Text.HandsomeSoup
, Text.CSS.Parser
Other-modules: Text.CSS.Utils
Build-depends: base >= 4.6 && < 5
, transformers >= 0.3
, HTTP
, parsec
, containers
, mtl
, hxt
, hxt-http
if flag(network-uri)
Build-depends: network >= 2.6
, network-uri >= 2.6
else
Build-depends: network < 2.6
, network-uri < 2.6
test-suite hspec
hs-source-dirs: tests
main-is: AllTests.hs
type: exitcode-stdio-1.0
Other-modules: Paths_HandsomeSoup
Build-depends: base >= 4.6 && < 5
-- currently uses HSpec.Monadic submodule, removed in 1.10.0
, hspec >= 1.11
, HandsomeSoup
, hxt
Flag buildExamples
description: Build examples
default: False
executable handsomesoup
If flag(buildExamples)
Buildable: True
Else
Buildable: False
hs-source-dirs: examples
main-is: GoogleSearch.hs
Build-depends: base >= 4.6 && < 5
, HandsomeSoup
, hxt