/
opam
47 lines (45 loc) · 1.61 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
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: [
["jbuilder" "subst" "-p" name] {dev}
["jbuilder" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.04"}
"base-bytes"
"base" {build & < "v0.17"}
"stdio" {build}
"configurator" {build}
"jbuilder" {>= "1.0+beta10"}
]
depexts: [
["postgresql-libs"] {os-distribution = "arch"}
["libpq-dev"] {os-family = "debian"}
["database/postgresql96-client"] {os = "freebsd"}
["database/postgresql96-client"] {os = "openbsd"}
["postgresql-devel"] {os-distribution = "centos"}
["postgresql-devel"] {os-distribution = "rhel"}
["postgresql-devel"] {os-distribution = "fedora"}
["postgresql-dev"] {os-distribution = "alpine"}
["postgresql"] {os-family = "suse" | os-family = "opensuse"}
["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.2.0/postgresql-4.2.0.tbz"
checksum: "md5=c7705969a5930aced2a12df0cd7b4916"
}