this repo has no description
1opam-version: "2.0"
2maintainer: "Dario Teixeira <dario.teixeira@nleyten.com>"
3authors: ["Richard W.M. Jones <rich@annexia.org>"]
4homepage: "http://pgocaml.forge.ocamlcore.org/"
5bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
6dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
7license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"
8build: [
9 ["./configure" "--%{camlp4:enable}%-p4" "--prefix" prefix "--docdir" "%{doc}%/pgocaml"]
10 [make]
11 [make "doc"]
12]
13install: [[make "install"]]
14remove: [["ocamlfind" "remove" "pgocaml"]]
15depends: [
16 "ocaml" {>= "4.01.0" & < "5.0"}
17 "base-bytes"
18 "calendar" {>= "2.00"}
19 "csv"
20 "ocamlbuild" {build}
21 "ocamlfind" {build}
22 "ounit" {with-test}
23 "re"
24]
25depopts: [ "camlp4" ]
26synopsis: "Interface to PostgreSQL databases"
27description: """
28PG'OCaml provides an interface to PostgreSQL databases for OCaml
29applications. It uses Camlp4 to extend the OCaml syntax, enabling one
30to directly embed SQL statements inside the OCaml code. Moreover, it
31uses the describe feature of PostgreSQL to obtain type information
32about the database. This allows PG'OCaml to check at compile-time if
33the program is indeed consistent with the database structure. This
34type-safe database access is the primary advantage that PG'OCaml has
35over other PostgreSQL bindings for OCaml."""
36flags: light-uninstall
37url {
38 src: "https://github.com/darioteixeira/pgocaml/archive/v2.3.tar.gz"
39 checksum: [
40 "sha256=ef8ec253a752eb31e535d845440185b95c4de31db8c5c955e79638b669af9ea2"
41 "md5=0f26e179c7c2ad32140ecb69a5f6c8a1"
42 ]
43}