File: text-conversions.cabal

package info (click to toggle)
haskell-text-conversions 0.3.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: haskell: 153; makefile: 6
file content (64 lines) | stat: -rw-r--r-- 1,416 bytes parent folder | download | duplicates (2)
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 <lexi.lambda@gmail.com>
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

  build-depends:
    , base
    , bytestring
    , hspec
    , text
    , text-conversions
  build-tool-depends:
    hspec-discover:hspec-discover