-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
145 lines (136 loc) · 3.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# SPDX-FileCopyrightText: 2022 Serokell <https://serokell.io>
#
# SPDX-License-Identifier: MPL-2.0
name: tztime
version: 0.1.1.0
github: serokell/tztime
license: MPL-2.0
license-file: LICENSE
author: Serokell
maintainer: Serokell <[email protected]>
copyright: 2022 Serokell <https://serokell.io>
category: Time
homepage: https://github.com/serokell/tztime
bug-reports: https://github.com/serokell/tztime/issues
synopsis: Safe timezone-aware handling of time.
description: |
This package introduces:
* The `TZTime` data type, a valid and unambiguous point in time in some time zone.
* Functions for safely manipulating a `TZTime`.
extra-source-files:
- README.md
tested-with:
- GHC == 8.10.7
- GHC == 9.0.2
- GHC == 9.2.8
- GHC == 9.4.7
library:
source-dirs: src
dependencies:
- base >= 4.7 && < 5
- deepseq
- directory >= 1.3.1.0
- filepath
- mtl
- safe-exceptions
- template-haskell >= 2.16.0.0
- text
- time >= 1.9.2
- time-compat >= 1.9.4
- tz >= 0.1.3.4
tests:
tztime-test:
main: Main.hs
source-dirs: test
build-tools: tasty-discover:tasty-discover
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base >= 4.7 && < 5
- tasty
- tasty-hunit-compat
- template-haskell
- time
- time-compat
- tztime
- th-test-utils
tztime-doctest:
main: Main.hs
source-dirs: doctest
ghc-options:
- -threaded
dependencies:
- base
- doctest-parallel
ghc-options:
- -Weverything
- -Wno-implicit-prelude
- -Wno-name-shadowing
- -Wno-missing-import-lists
- -Wno-missing-export-lists
- -Wno-unsafe
- -Wno-safe
- -Wno-missing-safe-haskell-mode
- -Wno-prepositive-qualified-module
- -Wno-monomorphism-restriction
- -Wno-missed-specialisations
- -Wno-all-missed-specialisations
when:
- condition: impl(ghc >= 9.2)
ghc-options:
- -Wno-missing-kind-signatures
default-extensions:
- AllowAmbiguousTypes
- ApplicativeDo
- BangPatterns
- BlockArguments
- ConstraintKinds
- DataKinds
- DefaultSignatures
- DeriveAnyClass
- DeriveDataTypeable
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- ImportQualifiedPost
- InstanceSigs
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- NegativeLiterals
- NumDecimals
- NumericUnderscores
- OverloadedLabels
- OverloadedStrings
- PatternSynonyms
- PolyKinds
- QuantifiedConstraints
- QuasiQuotes
- RankNTypes
- RecordWildCards
- RecursiveDo
- ScopedTypeVariables
- StandaloneDeriving
- StandaloneKindSignatures
- StrictData
- TemplateHaskell
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances
- UndecidableSuperClasses
- ViewPatterns