1- cabal-version : 1.12
1+ cabal-version : 1.24
22name : regex-tdfa
3- version : 1.3.2.2
4- x-revision : 3
3+ version : 1.3.2.3
54
65build-Type : Simple
76license : BSD3
@@ -20,9 +19,11 @@ description:
2019 Please consult the "Text.Regex.TDFA" module for API documentation including a tutorial with usage examples;
2120 see also <https://wiki.haskell.org/Regular_expressions> for general information about regular expression support in Haskell.
2221
23- extra-source -files :
22+ extra-doc -files :
2423 CHANGELOG.md
2524 README.md
25+
26+ extra-source-files :
2627 test/cases/*.txt
2728
2829tested-with :
@@ -47,7 +48,7 @@ source-repository head
4748source-repository this
4849 type : git
4950 location : https://github.com/haskell-hvr/regex-tdfa.git
50- tag : v1.3.2.2-r3
51+ tag : v1.3.2.3
5152
5253flag force-O2
5354 default : False
@@ -93,21 +94,10 @@ library
9394
9495 other-modules : Paths_regex_tdfa
9596
96- -- Support Semigroup instances uniformly
97- --
98- -- See also
99- -- https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#RecommendedVariant
100- --
101- -- NB: This is the same logic `parsec.cabal` uses, so this doesn't
102- -- add any new dependency that isn't already incurred by
103- -- `regex-tdfa`'s transitive deps
104- if !impl(ghc >= 8.0 )
105- build-depends : fail == 4.9. *
106- , semigroups == 0.18. * || == 0.19. *
107- build-depends : array >= 0.4 && < 0.6
108- , base >= 4.5 && < 5
109- , bytestring >= 0.9.2 && < 0.13
110- , containers >= 0.4.2 && < 0.8
97+ build-depends : array >= 0.5 && < 0.6
98+ , base >= 4.9 && < 5
99+ , bytestring >= 0.10 && < 0.13
100+ , containers >= 0.5 && < 1
111101 , mtl >= 2.1.3 && < 2.4
112102 , parsec == 3.1. *
113103 , regex-base == 0.94. *
@@ -131,13 +121,16 @@ library
131121 UnliftedFFITypes
132122 other-extensions : CPP
133123
134- ghc-options : -Wall -funbox-strict-fields -fspec-constr-count= 10 -fno-warn-orphans
135-
136- if impl(ghc >= 8.0 )
137- ghc-options : -Wcompat
124+ ghc-options :
125+ -funbox-strict-fields
126+ -fspec-constr-count= 10
127+ -Wall
128+ -Wno-orphans
129+ -Wcompat
138130
139131 if flag(force-O2)
140- ghc-options : -O2
132+ ghc-options :
133+ -O2
141134
142135
143136test-suite regex-tdfa-unittest
@@ -150,9 +143,6 @@ test-suite regex-tdfa-unittest
150143 build-depends : regex-tdfa
151144
152145 -- dependencies whose version constraints are inherited via intra-package 'regex-tdfa' dependency
153- if !impl(ghc >= 8.0 )
154- build-depends : fail
155- , semigroups
156146 build-depends : array
157147 , base
158148 , bytestring
0 commit comments