Skip to content

Commit

Permalink
Let cabal-fix do its magic + small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne committed Feb 1, 2024
1 parent 4d8922d commit 0cd9771
Showing 1 changed file with 60 additions and 62 deletions.
122 changes: 60 additions & 62 deletions StateVar.cabal
Original file line number Diff line number Diff line change
@@ -1,74 +1,72 @@
cabal-version: 3.4
name: StateVar
version: 1.2.2
synopsis: State variables
description:
This package contains state variables, which are references in the IO monad,
like IORefs or parts of the OpenGL state.
homepage: https://github.com/haskell-opengl/StateVar
bug-reports: https://github.com/haskell-opengl/StateVar/issues
copyright: Copyright (C) 2014-2015 Edward A. Kmett, 2009-2021 Sven Panne
license: BSD3
license: BSD-3-Clause
license-file: LICENSE
copyright:
Copyright (C) 2014-2015 Edward A. Kmett, 2009-2021 Sven Panne
category: Data
author: Sven Panne and Edward Kmett
maintainer: Sven Panne <[email protected]>
category: Data
homepage: https://github.com/haskell-opengl/StateVar
bug-reports: https://github.com/haskell-opengl/StateVar/issues
synopsis: State variables
description:
This package contains state variables, which are references in the IO monad,
like IORefs or parts of the OpenGL state.
build-type: Simple
tested-with:
GHC == 7.0.4
GHC == 7.2.2
GHC == 7.4.2
GHC == 7.6.3
GHC == 7.8.4
GHC == 7.10.3
GHC == 8.0.2
GHC == 8.2.2
GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.2
GHC == 9.2.8
GHC == 9.4.8
GHC == 9.6.4
GHC == 9.8.1
cabal-version: >= 1.10
extra-source-files:
README.md
CHANGELOG.md

library
exposed-modules:
Data.StateVar
GHC == 7.0.4
GHC == 7.10.3
GHC == 7.2.2
GHC == 7.4.2
GHC == 7.6.3
GHC == 7.8.4
GHC == 8.0.2
GHC == 8.10.7
GHC == 8.2.2
GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.4
GHC == 9.0.2
GHC == 9.2.8
GHC == 9.4.8
GHC == 9.6.4
GHC == 9.8.1
extra-doc-files:
CHANGELOG.md
README.md

build-depends:
base >= 4 && < 5,
stm >= 2.3.0.1 && < 2.6,
transformers >= 0.3 && < 0.7
source-repository head
type: git
location: https://github.com/haskell-opengl/StateVar.git

default-language: Haskell2010
default-extensions:
TypeOperators
other-extensions:
CPP
DeriveDataTypeable
MultiParamTypeClasses
FunctionalDependencies
FlexibleInstances
TypeFamilies
library
default-language: Haskell2010
hs-source-dirs: src
build-depends:
, base >=4 && <5
, stm >=2.3.0.1 && <2.6
, transformers >=0.3 && <0.7
exposed-modules: Data.StateVar
default-extensions: TypeOperators
ghc-options: -Wall
other-extensions:
CPP
DeriveDataTypeable
MultiParamTypeClasses
FunctionalDependencies
FlexibleInstances
TypeFamilies

hs-source-dirs: src
ghc-options: -Wall
if impl(ghc > 8)
ghc-options: -Wcompat
if impl(ghc>=7.4)
-- other-extensions: DefaultSignatures
cpp-options: -DUSE_DEFAULT_SIGNATURES=1
if impl ( ghc > 8 )
ghc-options: -Wcompat

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

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

0 comments on commit 0cd9771

Please sign in to comment.