-
Notifications
You must be signed in to change notification settings - Fork 7
/
text-conversions.cabal
64 lines (53 loc) · 1.4 KB
/
text-conversions.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
cabal-version: 2.4
name: text-conversions
version: 0.3.1.1
category: Data
build-type: Simple
synopsis: Safe conversions between textual types
description: Safe conversions between textual types
author: Alexis King
maintainer: Alexis King <[email protected]>
license: ISC
license-file: LICENSE
extra-source-files:
README.md
CHANGELOG.md
LICENSE
homepage: https://github.com/cjdev/text-conversions
bug-reports: https://github.com/cjdev/text-conversions/issues
source-repository head
type: git
location: https://github.com/cjdev/text-conversions
common common
default-language: Haskell2010
default-extensions: FlexibleInstances MultiParamTypeClasses OverloadedStrings
ghc-options: -Wall
if impl(ghc >= 8.0.1)
ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
library
import: common
hs-source-dirs: src
exposed-modules:
Data.Text.Conversions
build-depends:
, base >=4.7 && <5
, base16-bytestring <2
, base64-bytestring <2
, bytestring <1
, text <3
test-suite text-conversions-test-suite
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Data.Text.ConversionsSpec
ghc-options: -rtsopts -threaded -with-rtsopts=-N
build-depends:
, base
, bytestring
, hspec
, text
, text-conversions
build-tool-depends:
hspec-discover:hspec-discover