revised .cabal file

This commit is contained in:
Jens Petersen 2023-07-23 23:06:09 +08:00
parent 7c33f4f3ad
commit b6467b4b7e

View File

@ -1,22 +1,39 @@
cabal-version: 2.0
-- 2.0 needed for internal libraries
name: attoparsec name: attoparsec
version: 0.14.4 version: 0.14.4
x-revision: 2 x-revision: 4
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
category: Text, Parsing category: Text, Parsing
author: Bryan O'Sullivan <bos@serpentine.com> author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org> maintainer: Ben Gamari <ben@smart-cactus.org>
stability: experimental stability: experimental
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
synopsis: Fast combinator parsing for bytestrings and text synopsis: Fast combinator parsing for bytestrings and text
cabal-version: 2.0 homepage: https://github.com/haskell/attoparsec
homepage: https://github.com/bgamari/attoparsec bug-reports: https://github.com/haskell/attoparsec/issues
bug-reports: https://github.com/bgamari/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.
tested-with:
GHC == 9.6.2
GHC == 9.4.5
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.2
extra-source-files: extra-source-files:
README.markdown README.markdown
benchmarks/*.txt benchmarks/*.txt
@ -39,7 +56,7 @@ library attoparsec-internal
hs-source-dirs: internal hs-source-dirs: internal
build-depends: array, build-depends: array,
base >= 4.5 && < 5, base >= 4.5 && < 5,
bytestring <0.12, bytestring <0.13,
text >= 1.1.1.3 text >= 1.1.1.3
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: semigroups >=0.16.1 && <0.21 build-depends: semigroups >=0.16.1 && <0.21
@ -55,13 +72,13 @@ library attoparsec-internal
library library
build-depends: array, build-depends: array,
base >= 4.5 && < 5, base >= 4.5 && < 5,
bytestring <0.12, bytestring <0.13,
containers, containers,
deepseq, deepseq,
scientific >= 0.3.1 && < 0.4, scientific >= 0.3.1 && < 0.4,
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7, transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
text >= 1.1.1.3, text >= 1.1.1.3,
ghc-prim <0.10, ghc-prim < 0.11,
attoparsec-internal attoparsec-internal
if impl(ghc < 7.4) if impl(ghc < 7.4)
build-depends: build-depends:
@ -195,4 +212,4 @@ benchmark attoparsec-benchmarks
source-repository head source-repository head
type: git type: git
location: https://github.com/bgamari/attoparsec location: https://github.com/haskell/attoparsec.git