File: input-parsers.cabal

package info (click to toggle)
haskell-input-parsers 0.3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 108 kB
  • sloc: haskell: 602; makefile: 2
file content (51 lines) | stat: -rw-r--r-- 1,986 bytes parent folder | download
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
49
50
51
cabal-version:       >=1.10
name:                input-parsers
version:             0.3.0.2
synopsis:            Extension of the parsers library with more capability and efficiency
description:
                     Extended version of the parsers library, with the additional classes providing more
                     capable and efficient methods.
bug-reports:         https://github.com/blamario/input-parsers/issues
license:             BSD3
license-file:        LICENSE
author:              Mario Blažević
maintainer:          blamario@protonmail.com
copyright:           (c) 2020 Mario Blažević
category:            Parsing
build-type:          Simple
tested-with:         ghc==9.0.1, GHC==8.10.4, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2
extra-source-files:  CHANGELOG.md, README.md

flag binary
  default: True
  description:
    You can disable the use of the `binary` package using `-f-binary`.

flag parsec
  default: True
  description:
    You can disable the use of the `parsec` package using `-f-parsec`.

flag attoparsec
  default: True
  description:
    You can disable the use of the `attoparsec` package using `-f-attoparsec`.

library
  exposed-modules:     Text.Parser.Deterministic,
                       Text.Parser.Input,
                       Text.Parser.Input.Position,
                       Text.Parser.Wrapper
  other-modules:       Text.Parser.Internal
  build-depends:       base >=4.9 && <5, bytestring >=0.10 && <0.13, text >=1.2 && <2.2,
                       monoid-subclasses >= 1.0 && < 1.3, parsers >= 0.12 && < 0.13,
                       transformers >=0.2 && <0.7
  if flag(binary)
    build-depends: binary     >= 0.7.2    && < 1
  if flag(parsec)
    build-depends: parsec     >= 3.1      && < 3.2
  if flag(attoparsec)
    build-depends: attoparsec >= 0.12.1.4 && < 0.15, bytestring >= 0.9 && < 0.13, text >= 0.1 && < 2.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  GHC-options:         -Wall