File: rfc5051.cabal

package info (click to toggle)
haskell-rfc5051 0.2-4
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,900 kB
  • sloc: haskell: 54; makefile: 6
file content (51 lines) | stat: -rw-r--r-- 1,678 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
cabal-version:       2.0
name:                rfc5051
version:             0.2
synopsis:            Simple unicode collation as per RFC5051.
description:
  This library implements @i;unicode-casemap@,
  the simple, non locale-sensitive unicode collation
  algorithm described in RFC 5051 (<http://www.rfc-editor.org/rfc/rfc5051.txt>).
  Proper unicode collation can be done using text-icu, but that is a big
  dependency that depends on a large C library, and rfc5051 might be better
  for some purposes.
  .
  Here is a list of strings sorted by the Prelude's @sort@ function:
  .
  Abe Oeb abe ab&#233; oeb &#193;be &#196;be &#212;eb &#225;be &#228;be &#244;eb.
  .
  Here is the same list sorted by @sortBy compareUnicode@:
  .
  Abe abe ab&#233; &#193;be &#225;be &#196;be &#228;be Oeb oeb &#212;eb &#244;eb

license:             BSD3
license-file:        LICENSE
author:              John MacFarlane
maintainer:          jgm@berkeley.edu
copyright:           (C) 2013 John MacFarlane
category:            Text
build-type:          Simple
extra-source-files:  UnicodeData.txt, changelog.md

source-repository head
  type:          git
  location:      git://github.com/jgm/rfc5051.git

library
  exposed-modules:   Data.RFC5051
  build-depends:     base >= 4.2 && < 5,
                     containers,
                     text
  hs-source-dirs:    src
  other-modules:     Data.RFC5051.UnicodeData
  default-language:  Haskell2010

test-suite test-rfc5051
  type:           exitcode-stdio-1.0
  main-is:        Main.hs
  hs-source-dirs: test
  build-depends:     base >= 4.2 && < 5,
                     text,
                     rfc5051
  default-language:  Haskell2010