Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (40 sloc) 1.42 KB
opam-version: "2.0"
maintainer: "Dario Teixeira <>"
authors: ["Richard W.M. Jones <>"]
homepage: ""
bug-reports: ""
dev-repo: "git+"
license: "LGPL-2.0 with OCaml linking exception"
build: [
["./configure" "--%{camlp4:enable}%-p4" "--prefix" prefix "--docdir" "%{doc}%/pgocaml"]
[make "doc"]
install: [[make "install"]]
remove: [["ocamlfind" "remove" "pgocaml"]]
depends: [
"ocaml" {>= "4.01.0"}
"ocamlbuild" {build}
"ocamlfind" {build}
"ounit" {with-test}
depopts: [ "camlp4" ]
synopsis: "Interface to PostgreSQL databases"
description: """
PG'OCaml provides an interface to PostgreSQL databases for OCaml
applications. It uses Camlp4 to extend the OCaml syntax, enabling one
to directly embed SQL statements inside the OCaml code. Moreover, it
uses the describe feature of PostgreSQL to obtain type information
about the database. This allows PG'OCaml to check at compile-time if
the program is indeed consistent with the database structure. This
type-safe database access is the primary advantage that PG'OCaml has
over other PostgreSQL bindings for OCaml."""
flags: light-uninstall
url {
src: ""
checksum: "md5=0f26e179c7c2ad32140ecb69a5f6c8a1"
You can’t perform that action at this time.