-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.yaml
88 lines (79 loc) · 1.73 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
80
81
82
83
84
85
86
87
88
name: yesod-paginator
version: 1.1.2.2
synopsis: A pagination approach for yesod
description: Paginate a list showing a per-item widget and links to other pages
category: Web, Yesod
author: Patrick Brisbin <[email protected]>
license: MIT
homepage: http://github.com/pbrisbin/yesod-paginator
dependencies:
- base < 5
ghc-options:
- -Weverything
- -Wno-all-missed-specialisations
- -Wno-missing-import-lists
- -Wno-safe
- -Wno-unsafe
when:
- condition: impl(ghc >= 9.8)
ghc-options:
- -Wno-missing-role-annotations
- condition: impl(ghc >= 9.2)
ghc-options:
- -Wno-missing-kind-signatures
- condition: impl(ghc >= 8.10)
ghc-options:
- -Wno-missing-safe-haskell-mode
- -Wno-prepositive-qualified-module
- condition: impl(ghc >= 8.8)
ghc-options:
- -fwrite-ide-info
default-extensions:
- NoImplicitPrelude
library:
source-dirs: src
dependencies:
- blaze-markup
- path-pieces
- persistent
- safe
- text
- transformers
- uri-encode
- yesod-core
executables:
yesod-paginator-example:
main: Main.hs
source-dirs: example
dependencies:
- warp
- yesod
- yesod-paginator
when:
- condition: ! '!(flag(examples))'
buildable: false
tests:
test:
main: Spec.hs
source-dirs: test
dependencies:
- QuickCheck
- hspec
- quickcheck-classes
- yesod-core
- yesod-paginator
- yesod-test
when:
- condition: impl(ghc >= 8.8)
ghc-options:
- -Wno-missing-deriving-strategies
doctests:
main: Main.hs
source-dirs: doctest
dependencies:
- doctest
flags:
examples:
description: Build the examples
manual: false
default: false