----------------------------------------------------------------
-- wren ng thornton <wren@community.haskell.org> ~ 2013.03.20
----------------------------------------------------------------
-- By and large Cabal >=1.2 is fine; but >= 1.6 gives tested-with:
-- and source-repository:.
Cabal-Version: >= 1.6
Build-Type: Simple
Name: bytestring-lexing
Version: 0.4.2
Stability: provisional
Homepage: http://code.haskell.org/~wren/
Author: wren ng thornton, Don Stewart
Maintainer: wren@community.haskell.org
Copyright: Copyright (c) 2012--2013 wren ng thornton, 2008--2011 Don Stewart
License: BSD3
License-File: LICENSE
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>
Tested-With:
GHC ==6.8.2, GHC ==6.10.1, GHC ==6.12.1, GHC ==7.0.3, GHC ==7.6.1
Extra-source-files:
AUTHORS, README, VERSION
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.