forked from christian-marie/phone-numbers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phone-numbers.cabal
69 lines (55 loc) · 1.49 KB
/
phone-numbers.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
cabal-version: 2.2
name: phone-numbers
version: 0.2.0
license: BSD-3-Clause
license-file: LICENSE
homepage: https://github.com/christian-marie/phone-numbers
bug-reports: https://github.com/christian-marie/phone-numbers
category: Data
author: Christian Marie <[email protected]>
maintainer: Christian Marie <[email protected]>
stability: experimental
synopsis: Haskell bindings to the libphonenumber library
build-type: Simple
description:
Basic phone number parsing, largely incomplete, please submit a pull
request or issue if you'd like more exposed.
extra-source-files:
cbits/*.cc
include/*.h
README.md
changelog.md
library
hs-source-dirs: lib
cxx-sources:
cbits/phone-numbers.cc
extra-libraries: phonenumber, stdc++, protobuf
include-dirs:
include
exposed-modules:
Data.PhoneNumber
Data.PhoneNumber.LowLevel
other-modules:
Data.PhoneNumber.FFI
build-depends:
base == 4.*,
bytestring
build-tools:
c2hs
ghc-options: -Wall
cxx-options: -std=c++14
source-repository head
type: git
location: https://github.com/christian-marie/phone-numbers
test-suite test
type: exitcode-stdio-1.0
build-depends:
base,
bytestring,
phone-numbers
ghc-options: -O2 -rtsopts -threaded
-- we want to check thread-safety of our libphonenumber:
ghc-options: -with-rtsopts=-N
ghc-options: -fno-ignore-asserts
hs-source-dirs: tests
main-is: Main.hs