File: gnuidn.cabal

package info (click to toggle)
haskell-gnuidn 0.2.2-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 116 kB
  • sloc: haskell: 122; makefile: 5
file content (70 lines) | stat: -rw-r--r-- 1,296 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
65
66
67
68
69
70
name: gnuidn
version: 0.2.2
license: GPL-3
license-file: license.txt
author: John Millikin
maintainer: jmillikin@gmail.com
build-type: Simple
cabal-version: >= 1.8
category: Codec, Text
stability: experimental
homepage: https://john-millikin.com/software/haskell-gnuidn/
bug-reports: mailto:jmillikin@gmail.com

synopsis: Bindings for GNU IDN

extra-source-files:
  tests/*.hs

source-repository head
  type: git
  location: https://john-millikin.com/code/haskell-gnuidn/

source-repository this
  type: git
  location: https://john-millikin.com/code/haskell-gnuidn/
  tag: haskell-gnuidn_0.2.2

library
  ghc-options: -Wall -O2
  hs-source-dirs: lib

  build-depends:
      base >= 4.0 && < 5.0
    , text
    , bytestring

  extra-libraries: idn
  pkgconfig-depends: libidn

  build-tools:
    c2hs

  exposed-modules:
    Data.Text.IDN.IDNA
    Data.Text.IDN.Punycode
    Data.Text.IDN.StringPrep

  other-modules:
    Data.Text.IDN.Internal

test-suite gnuidn_tests
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  hs-source-dirs: tests

  build-depends:
      base >= 4.0 && < 5.0
    , bytestring
    , chell >= 0.4 && < 0.5
    , chell-quickcheck >= 0.2 && < 0.3
    , gnuidn
    , QuickCheck >= 2.4
    , text

  extra-libraries: idn
  pkgconfig-depends: libidn

  build-tools:
    c2hs