File: text-icu.cabal

package info (click to toggle)
haskell-text-icu 0.6.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 272 kB
  • sloc: haskell: 718; ansic: 535; makefile: 2
file content (88 lines) | stat: -rw-r--r-- 2,719 bytes parent folder | download
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name:           text-icu
version:        0.6.3.4
synopsis:       Bindings to the ICU library
homepage:       https://bitbucket.org/bos/text-icu
bug-reports:    https://bitbucket.org/bos/text-icu/issues
description:
  Haskell bindings to the International Components for Unicode (ICU)
  libraries.  These libraries provide robust and full-featured Unicode
  services on a wide variety of platforms.
  .
  Features include:
  .
  * Both pure and impure bindings, to allow for fine control over efficiency
    and ease of use.
  .
  * Breaking of strings on character, word, sentence, and line boundaries.
  .
  * Access to the Unicode Character Database (UCD) of character metadata.
  .
  * String collation functions, for locales where the conventions for
    lexicographic ordering differ from the simple numeric ordering of
    character codes.
  .
  * Character set conversion functions, allowing conversion between
    Unicode and over 220 character encodings.
  .
  * Unicode normalization.  (When implementations keep strings in a
    normalized form, they can be assured that equivalent strings have a
    unique binary representation.)
  .
  * Regular expression search and replace.
maintainer:     Bryan O'Sullivan <bos@serpentine.com>
copyright:      2009, 2010 Bryan O'Sullivan
category:       Data, Text
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.6
extra-source-files:
  README.markdown include/hs_text_icu.h tests/benchmarks/Breaker.hs

library
  build-depends:     base < 5, bytestring, text >= 0.9.1.0 && <= 0.12.0.0
  if impl(ghc >= 6.10)
    build-depends:   base >= 4

  exposed-modules:
      Data.Text.ICU
      Data.Text.ICU.Break
      Data.Text.ICU.Char
      Data.Text.ICU.Collate
      Data.Text.ICU.Convert
      Data.Text.ICU.Error
      Data.Text.ICU.Normalize
      Data.Text.ICU.Regex
      Data.Text.ICU.Types
  other-modules:
      Data.Text.ICU.Break.Pure
      Data.Text.ICU.Break.Types
      Data.Text.ICU.Collate.Internal
      Data.Text.ICU.Collate.Pure
      Data.Text.ICU.Convert.Internal
      Data.Text.ICU.Error.Internal
      Data.Text.ICU.Internal
      Data.Text.ICU.Iterator
      Data.Text.ICU.Normalize.Internal
      Data.Text.ICU.Regex.Internal
      Data.Text.ICU.Regex.Pure
      Data.Text.ICU.Text
  c-sources: cbits/text_icu.c
  include-dirs: include
  extra-libraries: icuuc
  if os(mingw32)
    extra-libraries: icuin icudt
  else
    extra-libraries: icui18n icudata

  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/text-icu

source-repository head
  type:     git
  location: https://github.com/bos/text-icu