File: bytestring-show.cabal

package info (click to toggle)
haskell-bytestring-show 0.3.5.6-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 112 kB
  • sloc: haskell: 507; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,442 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
name:              bytestring-show
version:           0.3.5.6
license:           BSD3
license-file:      LICENSE
author:            Dan Doel
maintainer:        Dan Doel <dan.doel@gmail.com>
homepage:          http://code.haskell.org/~dolio/
category:          Text
synopsis:          Efficient conversion of values into readable byte strings.
description:       Efficient conversion of values into readable byte strings.
build-type:        Simple
cabal-version:     >= 1.6

flag integer-simple
        default: False
        description: use with integer-simple build of GHC

library
    build-depends: base < 5, binary < 0.9, bytestring >= 0.9 && <= 1, array < 0.6, containers < 0.6

    exposed-modules:
        Text.Show.ByteString

    other-modules:
        Text.Show.ByteString.Util
        Text.Show.ByteString.Char
        Text.Show.ByteString.Int
        Text.Show.ByteString.Float
        Text.Show.ByteString.Integer

    ghc-options:
        -O2 -Wall

    if flag(integer-simple)
        cpp-options: -DINTEGER_SIMPLE
        build-depends: integer-simple

    if impl(ghc >= 6.11) && !flag(integer-simple)
        cpp-options: -DINTEGER_GMP
        build-depends: integer-gmp >= 0.2

    if impl(ghc >= 6.9) && impl(ghc < 6.11) && !flag(integer-simple)
        cpp-options: -DINTEGER_GMP
        build-depends: integer >= 0.1 && < 0.2

source-repository head
  type: darcs
  location: http://hub.darcs.net/dolio/bytestring-show