File: wcwidth.cabal

package info (click to toggle)
haskell-wcwidth 0.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64 kB
  • sloc: haskell: 166; makefile: 3
file content (59 lines) | stat: -rw-r--r-- 1,998 bytes parent folder | download | duplicates (5)
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
name                          : wcwidth
version                       : 0.0.2
category                      : Text
license                       : BSD3
license-file                  : LICENSE
author                        : Jason Dusek
maintainer                    : oss@solidsnack.be
homepage                      : http://github.com/solidsnack/wcwidth/
synopsis                      : Native wcwidth.
description                   :
  Bindings for your system's native wcwidth and a command line tool to examine
  the widths assigned by it. The command line tool can compile a width table
  to Haskell code that assigns widths to the Char type.


cabal-version                 : >= 1.6.0
build-type                    : Simple
extra-source-files            : CompileRanges.hs


flag split-base

flag cli
  description                 : Enable command line tool.
  default                     : False


library
  if flag(split-base)
    build-depends             : base >= 4 && < 5
  else
    build-depends             : base < 4
  build-depends               : containers
  exposed-modules             : Data.Char.WCWidth
  extensions                  : StandaloneDeriving
                                ForeignFunctionInterface
                                OverloadedStrings


executable                      wcwidth-tools
  main-is                     : WCWidthTableaux.hs
  if flag(cli)
    buildable                 : True
  else
    buildable                 : False
  if flag(split-base)
    build-depends             : base >= 4 && < 5
  else
    build-depends             : base < 4
  build-depends               : containers
                              , bytestring
                              , setlocale >= 0.0.3
                              , utf8-string >= 0.3
                              , attoparsec >= 0.8.5
  extensions                  : StandaloneDeriving
                                ForeignFunctionInterface
                                OverloadedStrings