-
Notifications
You must be signed in to change notification settings - Fork 2
/
replace-megaparsec.cabal
48 lines (43 loc) · 1.8 KB
/
replace-megaparsec.cabal
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
cabal-version: 3.0
name: replace-megaparsec
version: 1.5.0.1
synopsis: Find, replace, split string patterns with Megaparsec parsers (instead of regex)
homepage: https://github.com/jamesdbrock/replace-megaparsec
bug-reports: https://github.com/jamesdbrock/replace-megaparsec/issues
license: BSD-2-Clause
license-file: LICENSE
author: James Brock <[email protected]>
maintainer: James Brock <[email protected]>
build-type: Simple
category: Parsing
description:
Find text patterns, replace the patterns, split on the patterns. Use
Megaparsec monadic parsers instead of regular expressions for pattern matching.
extra-doc-files: README.md
, CHANGELOG.md
source-repository head
type: git
location: https://github.com/jamesdbrock/replace-megaparsec.git
library
hs-source-dirs: src
build-depends: base >=4.0 && <5.0
, megaparsec >=7.0.0 && <10.0.0
, bytestring >=0.2 && <1.0
, text >=0.2 && <3.0
, parser-combinators >=1.2.0 && < 2.0.0
default-language: Haskell2010
exposed-modules: Replace.Megaparsec
, Replace.Megaparsec.Internal.ByteString
, Replace.Megaparsec.Internal.Text
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: tests
other-modules: TestString, TestByteString, TestText
default-language: Haskell2010
build-depends: base
, replace-megaparsec
, megaparsec
, hspec >=2.0.0 && <3.0.0
, text
, bytestring