Skip to content

Commit bd912c5

Browse files
committed
Let cabal-fix do its magic + small tweaks
1 parent 99cfb6d commit bd912c5

File tree

1 file changed

+60
-62
lines changed

1 file changed

+60
-62
lines changed

StateVar.cabal

Lines changed: 60 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,72 @@
1+
cabal-version: 3.4
12
name: StateVar
23
version: 1.2.2
3-
synopsis: State variables
4-
description:
5-
This package contains state variables, which are references in the IO monad,
6-
like IORefs or parts of the OpenGL state.
7-
homepage: https://github.com/haskell-opengl/StateVar
8-
bug-reports: https://github.com/haskell-opengl/StateVar/issues
9-
copyright: Copyright (C) 2014-2015 Edward A. Kmett, 2009-2021 Sven Panne
10-
license: BSD3
4+
license: BSD-3-Clause
115
license-file: LICENSE
6+
copyright:
7+
Copyright (C) 2014-2015 Edward A. Kmett, 2009-2021 Sven Panne
8+
category: Data
129
author: Sven Panne and Edward Kmett
1310
maintainer: Sven Panne <svenpanne@gmail.com>
14-
category: Data
11+
homepage: https://github.com/haskell-opengl/StateVar
12+
bug-reports: https://github.com/haskell-opengl/StateVar/issues
13+
synopsis: State variables
14+
description:
15+
This package contains state variables, which are references in the IO monad,
16+
like IORefs or parts of the OpenGL state.
1517
build-type: Simple
1618
tested-with:
17-
GHC == 7.0.4
18-
GHC == 7.2.2
19-
GHC == 7.4.2
20-
GHC == 7.6.3
21-
GHC == 7.8.4
22-
GHC == 7.10.3
23-
GHC == 8.0.2
24-
GHC == 8.2.2
25-
GHC == 8.4.4
26-
GHC == 8.6.5
27-
GHC == 8.8.4
28-
GHC == 8.10.7
29-
GHC == 9.0.2
30-
GHC == 9.2.8
31-
GHC == 9.4.8
32-
GHC == 9.6.4
33-
GHC == 9.8.1
34-
cabal-version: >= 1.10
35-
extra-source-files:
36-
README.md
37-
CHANGELOG.md
38-
39-
library
40-
exposed-modules:
41-
Data.StateVar
19+
GHC == 7.0.4
20+
GHC == 7.10.3
21+
GHC == 7.2.2
22+
GHC == 7.4.2
23+
GHC == 7.6.3
24+
GHC == 7.8.4
25+
GHC == 8.0.2
26+
GHC == 8.10.7
27+
GHC == 8.2.2
28+
GHC == 8.4.4
29+
GHC == 8.6.5
30+
GHC == 8.8.4
31+
GHC == 9.0.2
32+
GHC == 9.2.8
33+
GHC == 9.4.8
34+
GHC == 9.6.4
35+
GHC == 9.8.1
36+
extra-doc-files:
37+
CHANGELOG.md
38+
README.md
4239

43-
build-depends:
44-
base >= 4 && < 5,
45-
stm >= 2.3.0.1 && < 2.6,
46-
transformers >= 0.3 && < 0.7
40+
source-repository head
41+
type: git
42+
location: https://github.com/haskell-opengl/StateVar.git
4743

48-
default-language: Haskell2010
49-
default-extensions:
50-
TypeOperators
51-
other-extensions:
52-
CPP
53-
DeriveDataTypeable
54-
MultiParamTypeClasses
55-
FunctionalDependencies
56-
FlexibleInstances
57-
TypeFamilies
44+
library
45+
default-language: Haskell2010
46+
hs-source-dirs: src
47+
build-depends:
48+
, base >=4 && <5
49+
, stm >=2.3.0.1 && <2.6
50+
, transformers >=0.3 && <0.7
51+
exposed-modules: Data.StateVar
52+
default-extensions: TypeOperators
53+
ghc-options: -Wall
54+
other-extensions:
55+
CPP
56+
DeriveDataTypeable
57+
MultiParamTypeClasses
58+
FunctionalDependencies
59+
FlexibleInstances
60+
TypeFamilies
5861

59-
hs-source-dirs: src
60-
ghc-options: -Wall
61-
if impl(ghc > 8)
62-
ghc-options: -Wcompat
63-
if impl(ghc>=7.4)
64-
-- other-extensions: DefaultSignatures
65-
cpp-options: -DUSE_DEFAULT_SIGNATURES=1
62+
if impl ( ghc > 8 )
63+
ghc-options: -Wcompat
6664

67-
if impl(ghc >= 9.0)
68-
-- these flags may abort compilation with GHC-8.10
69-
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
70-
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode
65+
if impl ( ghc >= 7.4 )
66+
-- other-extensions: DefaultSignatures
67+
cpp-options: -DUSE_DEFAULT_SIGNATURES=1
7168

72-
source-repository head
73-
type: git
74-
location: https://github.com/haskell-opengl/StateVar.git
69+
if impl ( ghc >= 9.0 )
70+
-- these flags may abort compilation with GHC-8.10
71+
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
72+
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode

0 commit comments

Comments
 (0)