-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathua-parser.cabal
114 lines (100 loc) · 2.59 KB
/
ua-parser.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
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
name: ua-parser
description: Please refer to the git/github README on the project for example usage.
version: 0.7.7.0
synopsis: A library for parsing User-Agent strings, official Haskell port of ua-parser
license: BSD3
license-file: LICENSE
author: Ozgun Ataman
maintainer: [email protected]
category: Web
build-type: Simple
cabal-version: >=1.10
tested-with: GHC == 8.6.5
, GHC == 8.8.4
extra-source-files: src/Web/UAParser/SuiteUtils.hs
README.md
changelog.md
data-files: ./deps/uap-core/*.yaml
./deps/uap-core/test_resources/*.yaml
./deps/uap-core/tests/*.yaml
source-repository head
type: git
location: https://github.com/ua-parser/uap-haskell
subdir: haskell
flag lib-Werror
default: False
manual: True
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Web.UAParser
build-depends:
base < 5
, bytestring
, text
, pcre-light
, yaml >= 0.8.3
, aeson >= 0.7
, data-default
, file-embed < 0.1
, deepseq
, cereal
, cereal-text
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: src test
ghc-options: -O2 -Wall -fwarn-tabs
default-language: Haskell2010
other-modules:
Web.UAParser
Web.UAParser.SuiteUtils
if flag(lib-Werror)
ghc-options: -Werror
build-depends:
base
, bytestring
, text
, HUnit
, pcre-light
, yaml >= 0.7
, aeson
, tasty
, tasty-hunit
, tasty-quickcheck
, data-default
, filepath
, file-embed
, deepseq
, cereal
, cereal-text
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench, src
default-language: Haskell2010
other-modules:
Web.UAParser
Web.UAParser.SuiteUtils
build-depends:
base
, ua-parser
, criterion
, deepseq
, bytestring
, text
, yaml
, filepath
, aeson
, pcre-light
, file-embed
, data-default
, cereal
, cereal-text
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N