-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.yaml
79 lines (73 loc) · 1.71 KB
/
package.yaml
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
70
71
72
73
74
75
76
77
78
79
name: persistent-eventsource
version: 0.3.0
license: MIT
author: "Jappie Klooster"
maintainer: "[email protected]"
copyright: "2023 Jappie Klooster"
github: "jappeace/persistent-event-source"
synopsis: Persistent based event sourcing.
description: Event source library for persistent databases.
category: Database
extra-source-files:
- Readme.md
- LICENSE
- Changelog.md
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wincomplete-record-updates
- -Widentities
- -Wcpp-undef
- -fwarn-tabs
- -Wpartial-fields
- -fdefer-diagnostics
- -Wunused-packages
# from https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
default-extensions:
# trivial
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- InstanceSigs
- MultiParamTypeClasses
# only activated once used
- LambdaCase
- MultiWayIf
- NamedFieldPuns
- TupleSections
# no cost deriving power
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- GeneralizedNewtypeDeriving
- StandaloneDeriving
# used everywhere anyway
- OverloadedStrings
# ehh syntax
- TypeApplications
dependencies:
- base >= 4.7 && < 5
- persistent-mtl >= 0.3.0.0 && < 0.7.0.0
- unliftio-core
- monad-logger
- persistent
- time
- esqueleto-mtl
library:
source-dirs: src
tests:
unit:
main: Test.hs
ghc-options: -Wno-unused-packages
source-dirs:
- test
dependencies:
- tasty
- tasty-quickcheck
- tasty-hunit
- persistent-eventsource