packages feed

gnuidn-0.2.2: gnuidn.cabal

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