on master help sign in
Drop more legacy GHC support
commit646b866a6e277c28fa72b1ed318c413dd8bea9dd authorBryan O'Sullivan <bos@serpentine.com> dateWed 30 Apr 2014, 13:23 (12 years ago) parent1bd16d5
1 file changed+16−25
aeson.cabal+16−25
aeson.cabal+16−25
@@ -8,7 +8,7 @@ copyright: (c) 2011-2014 Bryan O'Sullivan
88author: Bryan O'Sullivan <bos@serpentine.com>
99maintainer: Bryan O'Sullivan <bos@serpentine.com>
1010stability: experimental
11−tested-with: GHC == 7.0, GHC == 7.2, GHC == 7.4, GHC == 7.6, GHC == 7.8
11+tested-with: GHC == 7.4, GHC == 7.6, GHC == 7.8
1212synopsis: Fast JSON parsing and encoding
1313cabal-version: >= 1.8
1414homepage: https://github.com/bos/aeson
@@ -84,21 +84,13 @@ library
8484 Data.Aeson.TH
8585
8686 other-modules:
87+ Data.Aeson.Encode.ByteString
8788 Data.Aeson.Functions
8889 Data.Aeson.Parser.Internal
8990 Data.Aeson.Types.Class
91+ Data.Aeson.Types.Generic
9092 Data.Aeson.Types.Instances
9193 Data.Aeson.Types.Internal
92− Data.Aeson.Encode.ByteString
93−
94− if impl(ghc >= 7.2.1)
95− cpp-options: -DGENERICS
96− build-depends: ghc-prim >= 0.2, dlist >= 0.2
97− other-modules:
98− Data.Aeson.Types.Generic
99−
100− if impl(ghc < 7.8)
101− build-depends: bytestring-builder
10294
10395 build-depends:
10496 attoparsec >= 0.11.3.0,
@@ -106,22 +98,25 @@ library
10698 bytestring >= 0.10.4.0,
10799 containers,
108100 deepseq,
101+ dlist >= 0.2,
102+ ghc-prim >= 0.2,
109103 hashable >= 1.1.2.0,
110104 mtl,
111105 old-locale,
106+ scientific >= 0.2,
112107 syb,
113108 template-haskell >= 2.4,
109+ text >= 1.1.1.0,
114110 time,
115111 unordered-containers >= 0.2.3.0,
116− vector >= 0.7.1,
117− scientific >= 0.2,
118− text >= 1.1.1.0
112+ vector >= 0.7.1
119113
120114 if flag(developer)
121115 ghc-options: -Werror
122116 ghc-prof-options: -auto-all
123117
124118 ghc-options: -O2 -Wall
119+ cpp-options: -DGENERICS
125120
126121test-suite tests
127122 type: exitcode-stdio-1.0
@@ -135,30 +130,26 @@ test-suite tests
135130 Properties.Deprecated
136131 Types
137132
138− ghc-options:
139− -Wall -threaded -rtsopts
140− if impl(ghc < 7.4)
141− ghc-options: -fcontext-stack=40
142− if impl(ghc >= 7.2)
143− cpp-options: -DGHC_GENERICS
133+ ghc-options: -Wall -threaded -rtsopts
134+ cpp-options: -DGHC_GENERICS
144135
145136 build-depends:
137+ HUnit,
146138 QuickCheck,
147139 aeson,
148140 attoparsec,
149141 base,
150− containers,
151142 bytestring,
143+ containers,
144+ ghc-prim >= 0.2,
152145 template-haskell,
153146 test-framework,
154− test-framework-quickcheck2,
155147 test-framework-hunit,
156− HUnit,
148+ test-framework-quickcheck2,
157149 text,
158150 time,
159151 unordered-containers,
160− vector,
161− ghc-prim >= 0.2
152+ vector
162153
163154source-repository head
164155 type: git