Skip to content

Commit 5f23f77

Browse files
committed
fix: update copyright year and refine dependency constraints in flat.cabal
1 parent 3014e2d commit 5f23f77

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

flat.cabal

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description:
99
category: Data,Parsing,Serialization
1010
license: BSD3
1111
license-file: LICENSE
12-
copyright: Copyright: (c) 2016-2022 Pasqualino `Titto` Assini
12+
copyright: Copyright: (c) 2016-2025 Pasqualino `Titto` Assini
1313
maintainer: tittoassini@gmail.com
1414
author: Pasqualino `Titto` Assini
1515
tested-with:
@@ -26,9 +26,9 @@ tested-with:
2626

2727
build-type: Simple
2828
extra-source-files:
29-
stack.yaml
30-
README.md
3129
CHANGELOG
30+
README.md
31+
stack.yaml
3232

3333
source-repository head
3434
type: git
@@ -71,13 +71,15 @@ library
7171
Flat.Instances.Vector
7272
Flat.Memory
7373
Flat.Run
74+
Flat.TH
7475
Flat.Tutorial
7576
Flat.Types
7677

78+
other-modules: TestTH
79+
7780
hs-source-dirs: src
7881
default-language: Haskell2010
7982
other-extensions:
80-
NoMonomorphismRestriction
8183
DataKinds
8284
DefaultSignatures
8385
DeriveAnyClass
@@ -87,6 +89,7 @@ library
8789
DeriveTraversable
8890
FlexibleContexts
8991
FlexibleInstances
92+
NoMonomorphismRestriction
9093
OverloadedStrings
9194
PolyKinds
9295
ScopedTypeVariables
@@ -104,7 +107,7 @@ library
104107
-- Stan options
105108
-- -fwrite-ide-info -hiedir=.hie
106109

107-
if impl(eta -any)
110+
if impl(eta)
108111
build-depends:
109112
array ==0.5.2.0
110113
, base
@@ -114,17 +117,17 @@ library
114117
, dlist
115118
, filepath ==1.4.1.1
116119
, ghc-prim ==0.4.0.0
117-
, hashable >=1.2.4.0 && <=1.2.7.0
120+
, hashable >=1.2.4.0 && <1.2.7.0.0
118121
, HUnit ==1.6.0.0
119-
, memory >=0.14.10 && <=0.14.14
122+
, memory >=0.14.10 && <0.14.14.0
120123
, mono-traversable ==1.0.1
121-
, pretty >=1.1.3.4 && <=1.1.3.6
122-
, primitive >=0.6.1.0 && <=0.6.4.0
124+
, pretty >=1.1.3.4 && <1.1.3.6.0
125+
, primitive >=0.6.1.0 && <0.6.4.0.0
123126
, QuickCheck ==2.10
124127
, tasty ==1.1.0.3
125128
, text ==1.2.3.0
126-
, unordered-containers >=0.2.7.1 && <=0.2.9.0
127-
, vector >=0.11.0.0 && <=0.12.0.1
129+
, unordered-containers >=0.2.7.1 && <0.2.9.0.0
130+
, vector >=0.11.0.0 && <0.12.0.1.0
128131

129132
else
130133
build-depends:
@@ -135,18 +138,24 @@ library
135138
, deepseq >=1.4
136139
, dlist >=0.6
137140
, ghc-prim
138-
, list-t >1
141+
, list-t >=1.0
139142
, mono-traversable
140143
, pretty >=1.1.2
141144
, primitive
145+
, some
142146
, text
143147
, unordered-containers
148+
, dependent-sum
149+
, th-abstraction
150+
, template-haskell
151+
, transformers
144152
, vector
153+
, aeson
145154

146155
if impl(ghc <8)
147156
build-depends:
148-
hashable >=1.2.4.0 && <=1.2.7.0
149-
, semigroups >=0 && <0.19
157+
hashable >=1.2.4.0 && <1.2.7.0.0
158+
, semigroups <0.19
150159

151160
else
152161
build-depends: hashable >=1.4.0.1
@@ -192,7 +201,7 @@ test-suite spec
192201
if impl(ghc <8)
193202
build-depends: semigroups <0.19
194203

195-
if impl(eta -any)
204+
if impl(eta)
196205
build-depends:
197206
array ==0.5.2.0
198207
, bytestring ==0.10.8.2

0 commit comments

Comments
 (0)