forked from darioteixeira/pgocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopam
35 lines (35 loc) · 1.42 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
opam-version: "2.0"
name: "pgocaml"
version: "3.2"
maintainer: "dev@ocsigen.org"
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."
authors: ["Richard W.M. Jones <rich@annexia.org>"]
homepage: "http://pgocaml.forge.ocamlcore.org/"
bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
license: "LGPL-2.0 with OCaml linking exception"
build: [
["./configure" "--%{camlp4:enable}%-p4" "--enable-ppx" "--enable-debug" "--prefix" prefix "--docdir" "%{doc}%/pgocaml"]
[make]
[make "doc"]
]
install: [[make "install"]]
remove: [["ocamlfind" "remove" "pgocaml"]]
depends: [
"ocaml" {>= "4.05"}
"base-bytes"
"calendar"
"csv"
"hex"
"ocamlbuild" {build}
"ocamlfind" {build}
"ounit" {with-test}
"ppx_tools" {build}
"re"
"rresult" {build}
"ocaml-migrate-parsetree"
"ppx_tools_versioned"
]
depopts: [ "camlp4" ]
flags: light-uninstall