forked from glasserc/haskell-cached-io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cached-io.cabal
59 lines (50 loc) · 1.63 KB
/
cached-io.cabal
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
cabal-version: 2.2
name: cached-io
version: 1.3.0.0
synopsis: A simple library to cache IO actions
description:
Provides functions that convert an IO action into a cached one by storing the
original result for a period of time, or until some condition is met.
license: Apache-2.0
license-file: LICENSE
author: SumAll, Inc.
maintainer: Bellroy Tech Team <[email protected]>
category: Development
build-type: Simple
tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.5 || ==9.6.6 || ==9.8.2
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/bellroy/haskell-cached-io.git
common deps
build-depends: base >=4.13.0.0 && <4.21
library
import: deps
exposed-modules: Control.Concurrent.CachedIO
build-depends:
, exceptions >=0.10.4 && <0.11
, stm >=2.5 && <2.6
, time >=1.9.3 && <1.15
, transformers >=0.5.6.2 && <0.7
hs-source-dirs: src/
default-language: Haskell2010
ghc-options: -fwarn-unused-imports -Wall -fno-warn-unused-do-bind
if flag(developer)
ghc-options: -Werror
flag developer
manual: True
default: False
description: compile with -Werror to make warnings fatal
executable test-cachedIO
import: deps
main-is: test-cachedIO.hs
build-depends: cached-io
hs-source-dirs: test/
default-language: Haskell2010
ghc-options:
-threaded -rtsopts -fwarn-unused-imports -Wall
-fno-warn-unused-do-bind
if flag(developer)
ghc-options: -Werror