/
opam
48 lines (44 loc) · 1.57 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
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
authors: [
"Alain Frisch <alain.frisch@lexifi.com>"
"Markus Mottl <markus.mottl@gmail.com>"
"Petter Urkedal <paurkedal@gmail.com>"
]
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "https://mmottl.github.io/postgresql-ocaml"
doc: "https://mmottl.github.io/postgresql-ocaml/api"
dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.05"}
"dune" {>= "1.4.0"}
"dune-configurator"
"base" {build & < "v0.17"}
"stdio" {build}
"base-bytes"
]
depexts: [
["libpq-dev"] {os-family = "debian"}
["database/postgresql96-client"] {os-distribution = "freebsd"}
["database/postgresql96-client"] {os-distribution = "openbsd"}
["postgresql-devel"] {os-distribution = "centos"}
["postgresql-devel"] {os-distribution = "rhel"}
["postgresql-devel"] {os-distribution = "fedora"}
["postgresql-devel"] {os-family = "suse" | os-family = "opensuse"}
["postgresql-dev"] {os-distribution = "alpine"}
["postgresql"] {os = "macos" & os-distribution = "homebrew"}
["postgresql96"] {os = "macos" & os-distribution = "macports"}
]
synopsis: "Bindings to the PostgreSQL library"
description: """
Postgresql offers library functions for accessing PostgreSQL databases."""
url {
src:
"https://github.com/mmottl/postgresql-ocaml/releases/download/4.4.1/postgresql-4.4.1.tbz"
checksum: "md5=7d6acaa0166e9849b08ad16a2d0ed543"
}