-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpostgresql-simple-interval.cabal
More file actions
85 lines (71 loc) · 1.88 KB
/
postgresql-simple-interval.cabal
File metadata and controls
85 lines (71 loc) · 1.88 KB
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
cabal-version: 3.0
name: postgresql-simple-interval
version: 1.0.1.2
synopsis: A simple interval type for PostgreSQL.
description:
This library provides a simple interval type for PostgreSQL. It supports
round-tripping through Postgres without losing information.
category: Database
license: 0BSD
license-file: LICENSE.txt
maintainer: Mercury Technologies, Inc.
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
location: https://github.com/MercuryTechnologies/postgresql-simple-interval
type: git
flag pedantic
default: False
manual: True
common library
build-depends:
attoparsec ^>=0.14.4,
base >=4.13 && <4.23,
bytestring >=0.10.10 && <0.13,
postgresql-simple ^>=0.7,
time >=1.9.3 && <1.16,
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-safe
-Wno-unsafe
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options:
-Wno-missing-kind-signatures
if flag(pedantic)
ghc-options: -Werror
common executable
import: library
build-depends: postgresql-simple-interval
ghc-options:
-rtsopts
-threaded
library
import: library
build-depends:
persistent >=2.17 && <2.19,
scientific ^>=0.3.8,
template-haskell >=2.15 && <2.25,
text >=1.2.4 && <1.3 || >=2.0 && <2.2,
-- cabal-gild: discover source/library
exposed-modules:
Database.PostgreSQL.Simple.Interval
Database.PostgreSQL.Simple.Interval.Unstable
hs-source-dirs: source/library
test-suite postgresql-simple-interval-test-suite
import: executable
build-depends:
hspec ^>=2.11.12,
postgresql-libpq ^>=0.11,
hs-source-dirs: source/test-suite
main-is: Main.hs
type: exitcode-stdio-1.0