···11+opam-version: "2.0"
22+maintainer: "Petter A. Urkedal <paurkedal@gmail.com>"
33+authors: "Petter A. Urkedal <paurkedal@gmail.com>"
44+license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
55+homepage: "https://github.com/paurkedal/ocaml-caqti/"
66+doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
77+bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
88+depends: [
99+ "alcotest" {with-test & >= "1.5.0"}
1010+ "caqti" {>= "2.0.0" & < "3.0.0~"}
1111+ "caqti-driver-sqlite3" {with-test & >= "2.0.0" & < "3.0.0~"}
1212+ "cmdliner" {with-test & >= "1.1.0"}
1313+ "dune" {>= "2.5"}
1414+ "ocaml" {>= "4.04.0"}
1515+ "ocamlfind"
1616+]
1717+build: [
1818+ ["dune" "build" "-p" name "-j" jobs]
1919+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
2020+]
2121+dev-repo: "git+https://github.com/paurkedal/ocaml-caqti.git"
2222+synopsis: "Dynamic linking of Caqti drivers using findlib.dynload"
2323+description: """
2424+This library registers a dynamic linker which will be called when
2525+encoutering an unhandled database URI. It tries to load a findlib package
2626+named "caqti-driver-<scheme>" where "<scheme>" is the scheme of the URI,
2727+which is expected register a driver for the scheme.
2828+2929+This is a separate package to avoid the dependency on the findlib.dynload
3030+for architectures, like MirageOS, where dynamic linking may be unavailable.
3131+The alternative is to link drivers directly into the application.
3232+"""
3333+url {
3434+ src:
3535+ "https://github.com/paurkedal/ocaml-caqti/releases/download/v2.0.1/caqti-v2.0.1.tbz"
3636+ checksum: [
3737+ "sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b"
3838+ "sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4"
3939+ ]
4040+}
4141+x-commit-hash: "7fb87f8f956ae84b191bc297f300649941110850"
···11+opam-version: "2.0"
22+maintainer: "Petter A. Urkedal <paurkedal@gmail.com>"
33+authors: "Petter A. Urkedal <paurkedal@gmail.com>"
44+license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
55+homepage: "https://github.com/paurkedal/ocaml-caqti/"
66+doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
77+bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
88+depends: [
99+ "caqti" {>= "2.0.0" & < "3.0.0~"}
1010+ "calendar" {>= "2.0"}
1111+ "dune" {>= "2.5"}
1212+ "ocaml"
1313+ "odoc" {with-doc}
1414+]
1515+build: [
1616+ ["dune" "build" "-p" name "-j" jobs]
1717+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
1818+ ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
1919+]
2020+dev-repo: "git+https://github.com/paurkedal/ocaml-caqti.git"
2121+synopsis: "Date and time field types using the calendar library"
2222+url {
2323+ src:
2424+ "https://github.com/paurkedal/ocaml-caqti/releases/download/v2.0.1/caqti-v2.0.1.tbz"
2525+ checksum: [
2626+ "sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b"
2727+ "sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4"
2828+ ]
2929+}
3030+x-commit-hash: "7fb87f8f956ae84b191bc297f300649941110850"
+63
packages/caqti/caqti.2.0.1/opam
···11+opam-version: "2.0"
22+maintainer: "Petter A. Urkedal <paurkedal@gmail.com>"
33+authors: [
44+ "Petter A. Urkedal <paurkedal@gmail.com>"
55+ "Nathan Rebours <nathan@cryptosense.com>"
66+ "Basile Clément"
77+]
88+license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
99+homepage: "https://github.com/paurkedal/ocaml-caqti/"
1010+doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
1111+bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
1212+depends: [
1313+ "alcotest" {with-test & >= "1.5.0"}
1414+ "angstrom" {>= "0.14.0"}
1515+ "bigstringaf"
1616+ "cmdliner" {with-test & >= "1.1.0"}
1717+ "domain-name" {>= "0.2.0"}
1818+ "dune" {>= "2.5"}
1919+ "ipaddr" {>= "3.0.0"}
2020+ "logs"
2121+ "lwt-dllist"
2222+ "mtime" {>= "2.0.0"}
2323+ "ocaml" {>= "4.08.0"}
2424+ "odoc" {with-doc}
2525+ "ptime"
2626+ "re" {with-test}
2727+ "uri" {>= "2.2.0"}
2828+]
2929+conflicts: [
3030+ "result" {< "1.5"}
3131+]
3232+build: [
3333+ ["dune" "build" "-p" name "-j" jobs]
3434+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
3535+ ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
3636+]
3737+dev-repo: "git+https://github.com/paurkedal/ocaml-caqti.git"
3838+synopsis: "Unified interface to relational database libraries"
3939+description: """
4040+Caqti provides a monadic cooperative-threaded OCaml connector API for
4141+relational databases.
4242+4343+The purpose of Caqti is further to help make applications independent of a
4444+particular database system. This is achieved by defining a common signature,
4545+which is implemented by the database drivers. Connection parameters are
4646+specified as an URI, which is typically provided at run-time. Caqti then
4747+loads a driver which can handle the URI, and provides a first-class module
4848+which implements the driver API and additional convenience functionality.
4949+5050+Caqti does not make assumptions about the structure of the query language,
5151+and only provides the type information needed at the edges of communication
5252+between the OCaml code and the database; i.e. for encoding parameters and
5353+decoding returned tuples. It is hoped that this agnostic choice makes it a
5454+suitable target for higher level interfaces and code generators."""
5555+url {
5656+ src:
5757+ "https://github.com/paurkedal/ocaml-caqti/releases/download/v2.0.1/caqti-v2.0.1.tbz"
5858+ checksum: [
5959+ "sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b"
6060+ "sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4"
6161+ ]
6262+}
6363+x-commit-hash: "7fb87f8f956ae84b191bc297f300649941110850"