-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
36 lines (33 loc) · 1.31 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
opam-version: "2.0"
authors: ["Petter A. Urkedal"]
maintainer: "paurkedal@gmail.com"
homepage: "https://github.com/paurkedal/ocaml-caqti/"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
dev-repo: "git+https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
build: [["jbuilder" "build" "-p" name "-j" jobs]]
depends: [
"ocaml"
"caqti" {= "0.10.0"}
"jbuilder" {>= "1.0+beta7"}
"ocamlfind"
"ppx_optcomp" {>= "v0.9.0" & < "v0.11.0"}
"ppx_driver"
]
synopsis: "Dynamic linking of Caqti drivers using findlib.dynload."
description: """
This library registers a dynamic linker which will be called when
encoutering an unhandled database URI. It tries to load a findlib package
named "caqti-driver-<scheme>" where "<scheme>" is the scheme of the URI,
which is expected register a driver for the scheme.
This is a separate package to avoid the dependency on the findlib.dynload
for architectures, like MirageOS, where dynamic linking may be unavailable.
The alternative is to link drivers directly into the application."""
url {
src:
"https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.0/caqti-0.10.0.tbz"
checksum: [
"sha256=83c80e1b55e0311d9a97b1f591a3f504670c977e7e47f8ed827897ce8d4a05ad"
"md5=28a2a8f5235662e7a452b786ffdb4a7f"
]
}