-
Notifications
You must be signed in to change notification settings - Fork 36
/
caqti-dynload.opam
33 lines (32 loc) · 1.31 KB
/
caqti-dynload.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
opam-version: "2.0"
name: "caqti-dynload"
maintainer: "Petter A. Urkedal <[email protected]>"
authors: "Petter A. Urkedal <[email protected]>"
license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
homepage: "https://github.com/paurkedal/ocaml-caqti/"
doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"alcotest" {with-test & >= "1.5.0"}
"caqti" {>= "2.0.0" & < "3.0.0~"}
"caqti-driver-sqlite3" {with-test}
"cmdliner" {with-test & >= "1.1.0"}
"dune" {>= "3.9"}
"ocaml" {>= "4.04.0"}
"ocamlfind"
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/paurkedal/ocaml-caqti.git"
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.
"""