Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / libpq2.format
blob596763d5ecd79ed0cb3f898ec900cbbf396cf1cf
1 cabal-version:      3.0
2 name:               postgresql-libpq
3 version:            0.9.4.2
4 license:            BSD-3-Clause
5 license-file:       LICENSE
6 copyright:
7     (c) 2010 Grant Monroe
8     (c) 2011 Leon P Smith
10 maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
11 author:             Grant Monroe, Leon P Smith, Joey Adams
12 tested-with:
13     ghc ==7.0.4 ghc ==7.2.2 ghc ==7.4.2 ghc ==7.6.3 ghc ==7.8.4
14     ghc ==7.10.3 ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.3 ghc ==8.6.1
16 homepage:           https://github.com/phadej/postgresql-libpq
17 synopsis:           low-level binding to libpq
18 description:
19     This is a binding to libpq: the C application
20     programmer's interface to PostgreSQL. libpq is a
21     set of library functions that allow client
22     programs to pass queries to the PostgreSQL
23     backend server and to receive the results of
24     these queries.
26 category:           Database
27 build-type:         Custom
28 extra-source-files:
29     cbits/noticehandlers.h
30     CHANGELOG.md
32 custom-setup
33     setup-depends:
34         base >=4.3 && <5,
35         Cabal >=1.10 && <2.5
37 flag use-pkg-config
38     default: False
39     manual:  True
41 library
42     exposed-modules:
43         Database.PostgreSQL.LibPQ
44         Database.PostgreSQL.LibPQ.Internal
46     build-tool-depends: hsc2hs:hsc2hs
47     c-sources:          cbits/noticehandlers.c
48     hs-source-dirs:     src
49     include-dirs:       cbits
50     ghc-options:        -Wall
51     build-depends:
52         base >=4.3 && <4.13,
53         bytestring >=0.9.1.0 && <0.11
55     if !os(windows)
56         build-depends: unix >=2.4.2.0 && <2.8
58     if os(windows)
59         build-depends: Win32 >=2.2.0.2 && <2.7
61     if flag(use-pkg-config)
62         pkgconfig-depends: libpq >=9.3h
64     else
65         if os(windows)
66             extra-libraries: libpq
68         else
69             extra-libraries: pq
71             if os(openbsd)
72                 extra-libraries:
73                     crypto
74                     ssl