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" "--prefix" prefix "--docdir" "%{doc}%/pgocaml"]
10 [make]
11 [make "doc"]
12]
13install: [[make "install"]]
14remove: [["ocamlfind" "remove" "pgocaml"]]
15depends: [
16 "ocaml" {< "5.0"}
17 "ocamlfind" {build}
18 "base-bytes"
19 "pcre"
20 "calendar" {>= "2.00"}
21 "csv"
22 "camlp4"
23 "ocamlbuild" {build}
24]
25synopsis: "Interface to PostgreSQL databases"
26description: """
27PG'OCaml provides an interface to PostgreSQL databases for OCaml
28applications. It uses Camlp4 to extend the OCaml syntax, enabling one
29to directly embed SQL statements inside the OCaml code. Moreover, it
30uses the describe feature of PostgreSQL to obtain type information
31about the database. This allows PG'OCaml to check at compile-time if
32the program is indeed consistent with the database structure. This
33type-safe database access is the primary advantage that PG'OCaml has
34over other PostgreSQL bindings for OCaml."""
35flags: light-uninstall
36url {
37 src: "https://github.com/darioteixeira/pgocaml/archive/v2.2.tar.gz"
38 checksum: [
39 "sha256=3027ca823f9f3db24475bd36e5628ee259605d72048d889be3b7e32c3e850d74"
40 "md5=37f88b0eb1db2d56e6e241d2cd6476e9"
41 ]
42}