Skip to content

Commit 4cee7b6

Browse files
authored
Merge pull request #12 from haskellari/update-cabal-version
Update cabal-version
2 parents 3199ebd + 8e00f7f commit 4cee7b6

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

postgresql-libpq.cabal

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ copyright:
2222
category: Database
2323
build-type: Custom
2424
extra-source-files: cbits/noticehandlers.h
25-
cabal-version: >=1.8
25+
cabal-version: >=1.10
2626
tested-with:
2727
GHC ==7.0.4
2828
|| ==7.2.2
@@ -51,14 +51,15 @@ flag use-pkg-config
5151
manual: True
5252

5353
library
54-
hs-source-dirs: src
55-
c-sources: cbits/noticehandlers.c
56-
include-dirs: cbits
54+
default-language: Haskell2010
55+
hs-source-dirs: src
56+
c-sources: cbits/noticehandlers.c
57+
include-dirs: cbits
5758
exposed-modules:
5859
Database.PostgreSQL.LibPQ
5960
Database.PostgreSQL.LibPQ.Internal
6061

61-
other-modules: Database.PostgreSQL.LibPQ.Compat
62+
other-modules: Database.PostgreSQL.LibPQ.Compat
6263
build-depends:
6364
base >=4.3 && <4.15
6465
, bytestring >=0.9.1.0 && <0.12
@@ -69,7 +70,7 @@ library
6970
if os(windows)
7071
build-depends: Win32 >=2.2.0.2 && <2.11
7172

72-
ghc-options: -Wall
73+
ghc-options: -Wall
7374

7475
if flag(use-pkg-config)
7576
pkgconfig-depends: libpq ==9.3 || >9.3
@@ -92,12 +93,13 @@ library
9293
ssl
9394

9495
-- Other-modules:
95-
build-tools: hsc2hs -any
96+
build-tools: hsc2hs -any
9697

9798
test-suite smoke
98-
type: exitcode-stdio-1.0
99-
main-is: Smoke.hs
100-
hs-source-dirs: test
99+
default-language: Haskell2010
100+
type: exitcode-stdio-1.0
101+
main-is: Smoke.hs
102+
hs-source-dirs: test
101103
build-depends:
102104
base
103105
, bytestring

0 commit comments

Comments
 (0)