revised .cabal file
This commit is contained in:
parent
7c33f4f3ad
commit
b6467b4b7e
@ -1,198 +1,215 @@
|
|||||||
name: attoparsec
|
cabal-version: 2.0
|
||||||
version: 0.14.4
|
-- 2.0 needed for internal libraries
|
||||||
x-revision: 2
|
name: attoparsec
|
||||||
license: BSD3
|
version: 0.14.4
|
||||||
license-file: LICENSE
|
x-revision: 4
|
||||||
category: Text, Parsing
|
license: BSD3
|
||||||
author: Bryan O'Sullivan <bos@serpentine.com>
|
license-file: LICENSE
|
||||||
maintainer: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org>
|
category: Text, Parsing
|
||||||
stability: experimental
|
author: Bryan O'Sullivan <bos@serpentine.com>
|
||||||
tested-with: GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC ==9.0.2, GHC ==9.2.1
|
maintainer: Ben Gamari <ben@smart-cactus.org>
|
||||||
synopsis: Fast combinator parsing for bytestrings and text
|
stability: experimental
|
||||||
cabal-version: 2.0
|
synopsis: Fast combinator parsing for bytestrings and text
|
||||||
homepage: https://github.com/bgamari/attoparsec
|
homepage: https://github.com/haskell/attoparsec
|
||||||
bug-reports: https://github.com/bgamari/attoparsec/issues
|
bug-reports: https://github.com/haskell/attoparsec/issues
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
description:
|
description:
|
||||||
A fast parser combinator library, aimed particularly at dealing
|
A fast parser combinator library, aimed particularly at dealing
|
||||||
efficiently with network protocols and complicated text/binary
|
efficiently with network protocols and complicated text/binary
|
||||||
file formats.
|
file formats.
|
||||||
extra-source-files:
|
|
||||||
README.markdown
|
tested-with:
|
||||||
benchmarks/*.txt
|
GHC == 9.6.2
|
||||||
benchmarks/json-data/*.json
|
GHC == 9.4.5
|
||||||
benchmarks/Makefile
|
GHC == 9.2.8
|
||||||
benchmarks/med.txt.bz2
|
GHC == 9.0.2
|
||||||
changelog.md
|
GHC == 8.10.7
|
||||||
examples/*.c
|
GHC == 8.8.4
|
||||||
examples/*.hs
|
GHC == 8.6.5
|
||||||
examples/Makefile
|
GHC == 8.4.4
|
||||||
|
GHC == 8.2.2
|
||||||
Flag developer
|
GHC == 8.0.2
|
||||||
Description: Whether to build the library in development mode
|
GHC == 7.10.3
|
||||||
Default: False
|
GHC == 7.8.4
|
||||||
Manual: True
|
GHC == 7.6.3
|
||||||
|
GHC == 7.4.2
|
||||||
-- We need to test and benchmark these modules,
|
|
||||||
-- but do not want to expose them to end users
|
extra-source-files:
|
||||||
library attoparsec-internal
|
README.markdown
|
||||||
hs-source-dirs: internal
|
benchmarks/*.txt
|
||||||
build-depends: array,
|
benchmarks/json-data/*.json
|
||||||
base >= 4.5 && < 5,
|
benchmarks/Makefile
|
||||||
bytestring <0.12,
|
benchmarks/med.txt.bz2
|
||||||
text >= 1.1.1.3
|
changelog.md
|
||||||
if !impl(ghc >= 8.0)
|
examples/*.c
|
||||||
build-depends: semigroups >=0.16.1 && <0.21
|
examples/*.hs
|
||||||
exposed-modules: Data.Attoparsec.ByteString.Buffer
|
examples/Makefile
|
||||||
Data.Attoparsec.ByteString.FastSet
|
|
||||||
Data.Attoparsec.Internal.Compat
|
Flag developer
|
||||||
Data.Attoparsec.Internal.Fhthagn
|
Description: Whether to build the library in development mode
|
||||||
Data.Attoparsec.Text.Buffer
|
Default: False
|
||||||
Data.Attoparsec.Text.FastSet
|
Manual: True
|
||||||
ghc-options: -O2 -Wall
|
|
||||||
default-language: Haskell2010
|
-- We need to test and benchmark these modules,
|
||||||
|
-- but do not want to expose them to end users
|
||||||
library
|
library attoparsec-internal
|
||||||
build-depends: array,
|
hs-source-dirs: internal
|
||||||
base >= 4.5 && < 5,
|
build-depends: array,
|
||||||
bytestring <0.12,
|
base >= 4.5 && < 5,
|
||||||
containers,
|
bytestring <0.13,
|
||||||
deepseq,
|
text >= 1.1.1.3
|
||||||
scientific >= 0.3.1 && < 0.4,
|
if !impl(ghc >= 8.0)
|
||||||
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
|
build-depends: semigroups >=0.16.1 && <0.21
|
||||||
text >= 1.1.1.3,
|
exposed-modules: Data.Attoparsec.ByteString.Buffer
|
||||||
ghc-prim <0.10,
|
Data.Attoparsec.ByteString.FastSet
|
||||||
attoparsec-internal
|
Data.Attoparsec.Internal.Compat
|
||||||
if impl(ghc < 7.4)
|
Data.Attoparsec.Internal.Fhthagn
|
||||||
build-depends:
|
Data.Attoparsec.Text.Buffer
|
||||||
bytestring < 0.10.4.0
|
Data.Attoparsec.Text.FastSet
|
||||||
|
ghc-options: -O2 -Wall
|
||||||
if !impl(ghc >= 8.0)
|
default-language: Haskell2010
|
||||||
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
|
||||||
build-depends: fail == 4.9.*,
|
library
|
||||||
semigroups >=0.16.1 && <0.21
|
build-depends: array,
|
||||||
|
base >= 4.5 && < 5,
|
||||||
exposed-modules: Data.Attoparsec
|
bytestring <0.13,
|
||||||
Data.Attoparsec.ByteString
|
containers,
|
||||||
Data.Attoparsec.ByteString.Char8
|
deepseq,
|
||||||
Data.Attoparsec.ByteString.Lazy
|
scientific >= 0.3.1 && < 0.4,
|
||||||
Data.Attoparsec.Char8
|
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
|
||||||
Data.Attoparsec.Combinator
|
text >= 1.1.1.3,
|
||||||
Data.Attoparsec.Internal
|
ghc-prim < 0.11,
|
||||||
Data.Attoparsec.Internal.Types
|
attoparsec-internal
|
||||||
Data.Attoparsec.Lazy
|
if impl(ghc < 7.4)
|
||||||
Data.Attoparsec.Number
|
build-depends:
|
||||||
Data.Attoparsec.Text
|
bytestring < 0.10.4.0
|
||||||
Data.Attoparsec.Text.Lazy
|
|
||||||
Data.Attoparsec.Types
|
if !impl(ghc >= 8.0)
|
||||||
Data.Attoparsec.Zepto
|
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
||||||
other-modules: Data.Attoparsec.ByteString.Internal
|
build-depends: fail == 4.9.*,
|
||||||
Data.Attoparsec.Text.Internal
|
semigroups >=0.16.1 && <0.21
|
||||||
ghc-options: -O2 -Wall
|
|
||||||
|
exposed-modules: Data.Attoparsec
|
||||||
default-language: Haskell2010
|
Data.Attoparsec.ByteString
|
||||||
|
Data.Attoparsec.ByteString.Char8
|
||||||
if flag(developer)
|
Data.Attoparsec.ByteString.Lazy
|
||||||
ghc-prof-options: -auto-all
|
Data.Attoparsec.Char8
|
||||||
ghc-options: -Werror
|
Data.Attoparsec.Combinator
|
||||||
|
Data.Attoparsec.Internal
|
||||||
test-suite attoparsec-tests
|
Data.Attoparsec.Internal.Types
|
||||||
type: exitcode-stdio-1.0
|
Data.Attoparsec.Lazy
|
||||||
hs-source-dirs: tests
|
Data.Attoparsec.Number
|
||||||
main-is: QC.hs
|
Data.Attoparsec.Text
|
||||||
other-modules: QC.Buffer
|
Data.Attoparsec.Text.Lazy
|
||||||
QC.ByteString
|
Data.Attoparsec.Types
|
||||||
QC.Combinator
|
Data.Attoparsec.Zepto
|
||||||
QC.Common
|
other-modules: Data.Attoparsec.ByteString.Internal
|
||||||
QC.IPv6.Internal
|
Data.Attoparsec.Text.Internal
|
||||||
QC.IPv6.Types
|
ghc-options: -O2 -Wall
|
||||||
QC.Rechunked
|
|
||||||
QC.Simple
|
default-language: Haskell2010
|
||||||
QC.Text
|
|
||||||
QC.Text.FastSet
|
if flag(developer)
|
||||||
QC.Text.Regressions
|
ghc-prof-options: -auto-all
|
||||||
|
ghc-options: -Werror
|
||||||
ghc-options:
|
|
||||||
-Wall -threaded -rtsopts
|
test-suite attoparsec-tests
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
if flag(developer)
|
hs-source-dirs: tests
|
||||||
ghc-options: -Werror
|
main-is: QC.hs
|
||||||
|
other-modules: QC.Buffer
|
||||||
build-depends:
|
QC.ByteString
|
||||||
array,
|
QC.Combinator
|
||||||
attoparsec,
|
QC.Common
|
||||||
attoparsec-internal,
|
QC.IPv6.Internal
|
||||||
base,
|
QC.IPv6.Types
|
||||||
bytestring,
|
QC.Rechunked
|
||||||
deepseq >= 1.1,
|
QC.Simple
|
||||||
QuickCheck >= 2.13.2 && < 2.15,
|
QC.Text
|
||||||
quickcheck-unicode,
|
QC.Text.FastSet
|
||||||
scientific,
|
QC.Text.Regressions
|
||||||
tasty >= 0.11,
|
|
||||||
tasty-quickcheck >= 0.8,
|
ghc-options:
|
||||||
text,
|
-Wall -threaded -rtsopts
|
||||||
transformers,
|
|
||||||
vector
|
if flag(developer)
|
||||||
|
ghc-options: -Werror
|
||||||
default-language: Haskell2010
|
|
||||||
|
build-depends:
|
||||||
if !impl(ghc >= 8.0)
|
array,
|
||||||
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
attoparsec,
|
||||||
build-depends: fail == 4.9.*,
|
attoparsec-internal,
|
||||||
semigroups >=0.16.1 && <0.19
|
base,
|
||||||
|
bytestring,
|
||||||
benchmark attoparsec-benchmarks
|
deepseq >= 1.1,
|
||||||
type: exitcode-stdio-1.0
|
QuickCheck >= 2.13.2 && < 2.15,
|
||||||
hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1
|
quickcheck-unicode,
|
||||||
ghc-options: -O2 -Wall -rtsopts
|
scientific,
|
||||||
main-is: Benchmarks.hs
|
tasty >= 0.11,
|
||||||
other-modules:
|
tasty-quickcheck >= 0.8,
|
||||||
Aeson
|
text,
|
||||||
Common
|
transformers,
|
||||||
Genome
|
vector
|
||||||
HeadersByteString
|
|
||||||
HeadersByteString.Atto
|
default-language: Haskell2010
|
||||||
HeadersText
|
|
||||||
Links
|
if !impl(ghc >= 8.0)
|
||||||
Network.Wai.Handler.Warp.ReadInt
|
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
||||||
Network.Wai.Handler.Warp.RequestHeader
|
build-depends: fail == 4.9.*,
|
||||||
Numbers
|
semigroups >=0.16.1 && <0.19
|
||||||
Sets
|
|
||||||
TextFastSet
|
benchmark attoparsec-benchmarks
|
||||||
Warp
|
type: exitcode-stdio-1.0
|
||||||
ghc-options: -O2 -Wall
|
hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1
|
||||||
|
ghc-options: -O2 -Wall -rtsopts
|
||||||
if flag(developer)
|
main-is: Benchmarks.hs
|
||||||
ghc-options: -Werror
|
other-modules:
|
||||||
|
Aeson
|
||||||
build-depends:
|
Common
|
||||||
array,
|
Genome
|
||||||
attoparsec,
|
HeadersByteString
|
||||||
attoparsec-internal,
|
HeadersByteString.Atto
|
||||||
base == 4.*,
|
HeadersText
|
||||||
bytestring >= 0.10.4.0,
|
Links
|
||||||
case-insensitive,
|
Network.Wai.Handler.Warp.ReadInt
|
||||||
containers,
|
Network.Wai.Handler.Warp.RequestHeader
|
||||||
deepseq >= 1.1,
|
Numbers
|
||||||
directory,
|
Sets
|
||||||
filepath,
|
TextFastSet
|
||||||
ghc-prim,
|
Warp
|
||||||
http-types,
|
ghc-options: -O2 -Wall
|
||||||
parsec >= 3.1.2,
|
|
||||||
scientific,
|
if flag(developer)
|
||||||
tasty-bench >= 0.3,
|
ghc-options: -Werror
|
||||||
text >= 1.1.1.0,
|
|
||||||
transformers,
|
build-depends:
|
||||||
unordered-containers,
|
array,
|
||||||
vector
|
attoparsec,
|
||||||
|
attoparsec-internal,
|
||||||
default-language: Haskell2010
|
base == 4.*,
|
||||||
|
bytestring >= 0.10.4.0,
|
||||||
if !impl(ghc >= 8.0)
|
case-insensitive,
|
||||||
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
containers,
|
||||||
build-depends: fail == 4.9.*,
|
deepseq >= 1.1,
|
||||||
semigroups >=0.16.1 && <0.19
|
directory,
|
||||||
|
filepath,
|
||||||
source-repository head
|
ghc-prim,
|
||||||
type: git
|
http-types,
|
||||||
location: https://github.com/bgamari/attoparsec
|
parsec >= 3.1.2,
|
||||||
|
scientific,
|
||||||
|
tasty-bench >= 0.3,
|
||||||
|
text >= 1.1.1.0,
|
||||||
|
transformers,
|
||||||
|
unordered-containers,
|
||||||
|
vector
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
if !impl(ghc >= 8.0)
|
||||||
|
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
|
||||||
|
build-depends: fail == 4.9.*,
|
||||||
|
semigroups >=0.16.1 && <0.19
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/haskell/attoparsec.git
|
||||||
|
Loading…
Reference in New Issue
Block a user