-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use build-type: Simple when possible
- Loading branch information
Showing
16 changed files
with
244 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
packages: . | ||
packages: postgresql-libpq-pkgconfig | ||
packages: postgresql-libpq-pgconfig |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
packages: . | ||
packages: postgresql-libpq-pgconfig | ||
|
||
constraints: unix installed | ||
|
||
package postgresql-libpq | ||
flags: -use-pkg-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
packages: . | ||
packages: postgresql-libpq-pgconfig | ||
|
||
constraints: Win32 installed | ||
|
||
package postgresql-libpq | ||
flags: -use-pkg-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0.10 | ||
---- | ||
|
||
* Initial release0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Copyright (c) 2010, Grant Monroe | ||
Copyright (c) 2011, Leon P Smith | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following | ||
disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
|
||
* Neither the name of the authors nor the names of other | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
cabal-version: 2.4 | ||
name: postgresql-libpq-pgconfig | ||
version: 0.10 | ||
synopsis: low-level binding to libpq: pg_config based provider | ||
description: | ||
This is a binding to libpq: the C application | ||
programmer's interface to PostgreSQL. libpq is a | ||
set of library functions that allow client | ||
programs to pass queries to the PostgreSQL | ||
backend server and to receive the results of | ||
these queries. | ||
|
||
homepage: https://github.com/haskellari/postgresql-libpq | ||
bug-reports: https://github.com/haskellari/postgresql-libpq/issues | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Grant Monroe, Leon P Smith, Joey Adams | ||
maintainer: Oleg Grenrus <[email protected]> | ||
copyright: (c) 2024 Oleg Grenrus | ||
category: Database | ||
build-type: Custom | ||
tested-with: | ||
GHC ==8.6.5 | ||
|| ==8.8.4 | ||
|| ==8.10.7 | ||
|| ==9.0.2 | ||
|| ==9.2.8 | ||
|| ==9.4.8 | ||
|| ==9.6.5 | ||
|| ==9.8.2 | ||
|| ==9.10.1 | ||
|
||
extra-source-files: CHANGELOG.md | ||
|
||
custom-setup | ||
setup-depends: | ||
, base >=4.12.0.0 && <5 | ||
, Cabal >=2.4 && <3.13 | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: base <5 | ||
|
||
if os(windows) | ||
-- Due to https://sourceware.org/bugzilla/show_bug.cgi?id=22948, | ||
-- if we specify pq instead of libpq, then ld might link against | ||
-- libpq.dll directly, which can lead to segfaults. As a temporary hack, | ||
-- we force ld to link against the libpq.lib import library directly | ||
-- by specifying libpq here. | ||
extra-libraries: libpq | ||
|
||
else | ||
extra-libraries: pq | ||
|
||
if os(openbsd) | ||
extra-libraries: | ||
crypto | ||
ssl | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/haskellari/postgresql-libpq | ||
subdir: postgresql-libpq-pgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0.10 | ||
---- | ||
|
||
* Initial release0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Copyright (c) 2010, Grant Monroe | ||
Copyright (c) 2011, Leon P Smith | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following | ||
disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
|
||
* Neither the name of the authors nor the names of other | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
43 changes: 43 additions & 0 deletions
43
postgresql-libpq-pkgconfig/postgresql-libpq-pkgconfig.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
cabal-version: 2.4 | ||
name: postgresql-libpq-pkgconfig | ||
version: 0.10 | ||
synopsis: low-level binding to libpq: pkg-config based provider | ||
description: | ||
This is a binding to libpq: the C application | ||
programmer's interface to PostgreSQL. libpq is a | ||
set of library functions that allow client | ||
programs to pass queries to the PostgreSQL | ||
backend server and to receive the results of | ||
these queries. | ||
|
||
homepage: https://github.com/haskellari/postgresql-libpq | ||
bug-reports: https://github.com/haskellari/postgresql-libpq/issues | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Grant Monroe, Leon P Smith, Joey Adams | ||
maintainer: Oleg Grenrus <[email protected]> | ||
copyright: (c) 2024 Oleg Grenrus | ||
category: Database | ||
build-type: Simple | ||
tested-with: | ||
GHC ==8.6.5 | ||
|| ==8.8.4 | ||
|| ==8.10.7 | ||
|| ==9.0.2 | ||
|| ==9.2.8 | ||
|| ==9.4.8 | ||
|| ==9.6.5 | ||
|| ==9.8.2 | ||
|| ==9.10.1 | ||
|
||
extra-source-files: CHANGELOG.md | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: base <5 | ||
pkgconfig-depends: libpq >=10.22 | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/haskellari/postgresql-libpq | ||
subdir: postgresql-libpq-pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters