File: StateVar.cabal

package info (click to toggle)
haskell-statevar 1.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 80 kB
  • sloc: haskell: 155; makefile: 2
file content (69 lines) | stat: -rw-r--r-- 1,673 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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-file: LICENSE
author: Sven Panne and Edward Kmett
maintainer: Sven Panne <svenpanne@gmail.com>
category: Data
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.3
  GHC == 8.6.5
  GHC == 8.8.4
  GHC == 8.10.3
  GHC == 8.10.4
  GHC == 9.0.1
cabal-version: >= 1.10
extra-source-files:
  README.md
  CHANGELOG.md

library
  exposed-modules:
    Data.StateVar

  build-depends:
    base         >= 4   && < 5,
    stm          >= 2.3.0.1 && < 2.6,
    transformers >= 0.3 && < 0.7

  default-language: Haskell2010
  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 >= 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

source-repository head
  type: git
  location: https://github.com/haskell-opengl/StateVar.git