----------------------------------------------------------------
-- wren ng thornton <wren@community.haskell.org> ~ 2012.02.03
----------------------------------------------------------------
Name: bytestring-lexing
Version: 0.4.0
-- Source-Repository requires version 1.6
Cabal-Version: >= 1.6
Build-Type: Simple
Stability: provisional
Copyright: Copyright (c) 2012 wren ng thornton, 2008--2011 Don Stewart
License: BSD3
License-File: LICENSE
Author: wren ng thornton, Don Stewart
Maintainer: wren@community.haskell.org
Homepage: http://code.haskell.org/~wren/
Category: Data
Synopsis: Parse and produce literals efficiently from strict or lazy bytestrings.
Description:
Parse and produce literals efficiently from strict or lazy bytestrings.
.
Some benchmarks for this package can be found at: <http://community.haskell.org/~wren/bytestring-lexing/test/bench/html>
Extra-source-files: AUTHORS, README, VERSION
Tested-With: GHC ==6.8.2, GHC ==6.10.1, GHC ==6.12.1, GHC ==7.0.3
Source-Repository head
Type: darcs
Location: http://community.haskell.org/~wren/bytestring-lexing
----------------------------------------------------------------
Flag base4
Default: True
Description: base-4.0 emits "Prelude deprecated" messages in
order to get people to be explicit about which
version of base they use.
Flag splitBase
Default: True
Description: base-3.0 (GHC 6.8) broke out the packages: array,
bytestring, containers, directory, old-locale,
old-time, packedstring, pretty, process, random.
Flag bytestringInBase
Default: False
Description: The bytestring library was included in base-2.0
and base-2.1.1, but for base-1.0 and base-3.0 it
was a separate package.
----------------------------------------------------------------
Library
Hs-Source-Dirs: src
Exposed-Modules: Data.ByteString.Lex.Integral
Data.ByteString.Lex.Double
Data.ByteString.Lex.Lazy.Double
Other-Modules: Data.ByteString.Lex.Internal
-- I think this is all that needs doing to get rid of the warnings?
if flag(base4)
Build-Depends: base >= 4 && < 5
else
Build-Depends: base < 4
if flag(bytestringInBase)
Build-Depends: base >= 2.0 && < 2.2
else
Build-Depends: base < 2.0 || >= 3, bytestring
if flag(splitBase)
Build-Depends: base >= 3 && < 5, bytestring, array
else
Build-Depends: base < 3
Ghc-Options: -O2
-- When bytestring-posn was added (2008):
Build-Tools: alex >= 2.3
----------------------------------------------------------------
----------------------------------------------------------- fin.