-
Notifications
You must be signed in to change notification settings - Fork 0
/
stringsearch.cabal
112 lines (87 loc) · 4.03 KB
/
stringsearch.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
-- stringsearch.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: stringsearch
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 0.3.6.6
Homepage: https://bitbucket.org/dafis/stringsearch
Bug-reports: https://bitbucket.org/dafis/stringsearch/issues
-- A short (one-line) description of the package.
Synopsis: Fast searching, splitting and replacing of ByteStrings
-- A longer description of the package.
Description: This package provides several functions to quickly
search for substrings in strict or lazy ByteStrings.
It also provides functions for breaking or splitting
on substrings and replacing all occurrences of a
substring (the first in case of overlaps) with another.
GHC before 6.10 are no longer supported, other compilers
only if they support BangPatterns. If you need it to
work with other compilers, send a feature request.
-- The license under which the package is released.
License: BSD3
-- The file containing the license text.
License-file: LICENCE
-- The package author(s).
Author: Daniel Fischer, Chris Kuklewicz, Justin Bailey
-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: [email protected]
-- A copyright notice.
Copyright: (c) 2007-2011
Daniel Fischer, Chris Kuklewicz, Justin Bailey
Category: Text, Search
Build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files: CHANGES
Tested-with: GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.2,
GHC == 7.0.4, GHC == 7.2.1
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.6
Flag base4
Description: Choose base-4.*
Flag base3
Description: Choose base-3.* if base-4 isn't available
Default: False
Library
-- Modules exported by the library.
Exposed-modules: Data.ByteString.Search
Data.ByteString.Search.BoyerMoore
Data.ByteString.Search.DFA
Data.ByteString.Search.KarpRabin
Data.ByteString.Search.KMP
Data.ByteString.Search.KnuthMorrisPratt
Data.ByteString.Search.Substitution
Data.ByteString.Lazy.Search
Data.ByteString.Lazy.Search.DFA
Data.ByteString.Lazy.Search.KarpRabin
Data.ByteString.Lazy.Search.KMP
-- Packages needed in order to build this package.
if flag(base4)
Build-depends: base >= 4 && < 5, array >= 0.3 && < 0.6,
bytestring >= 0.9 && < 1, containers >= 0.3 && < 0.6
else
if flag(base3)
Build-depends: base >= 3 && < 4, array >= 0.1 && < 0.4,
bytestring >= 0.9 && < 1, containers >= 0.1 && < 0.4
else
Build-depends: base >= 2 && < 3
Extensions: BangPatterns
if flag(base4)
ghc-options: -O2 -fspec-constr-count=4 -Wall
else
ghc-options: -O2 -Wall
ghc-prof-options: -auto
-- Modules not exported by this package.
Other-modules: Data.ByteString.Search.Internal.BoyerMoore
Data.ByteString.Search.Internal.KnuthMorrisPratt
Data.ByteString.Search.Internal.Utils
Data.ByteString.Lazy.Search.Internal.BoyerMoore
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
source-repository head
type: mercurial
location: https://bitbucket.org/dafis/stringsearch