Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caqti 0.10.1 #11495

Merged
merged 1 commit into from
Mar 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/caqti-async/caqti-async.0.10.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Async support for Caqti
17 changes: 17 additions & 0 deletions packages/caqti-async/caqti-async.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
opam-version: "1.2"
name: "caqti-async"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"async" {>= "v0.10.0"}
"core"
"caqti" {= "0.10.1"}
"jbuilder" {build}
]
2 changes: 2 additions & 0 deletions packages/caqti-async/caqti-async.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MariaDB driver for Caqti using C bindings
16 changes: 16 additions & 0 deletions packages/caqti-driver-mariadb/caqti-driver-mariadb.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
opam-version: "1.2"
name: "caqti-driver-mariadb"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"jbuilder" {build}
"mariadb" {>= "0.10"}
]
2 changes: 2 additions & 0 deletions packages/caqti-driver-mariadb/caqti-driver-mariadb.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PostgreSQL driver for Caqti based on C bindings
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
opam-version: "1.2"
name: "caqti-driver-postgresql"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"jbuilder" {build}
"postgresql"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sqlite3 driver for Caqti using C bindings
20 changes: 20 additions & 0 deletions packages/caqti-driver-sqlite3/caqti-driver-sqlite3.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
opam-version: "1.2"
name: "caqti-driver-sqlite3"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"caqti-async" {test & = "0.10.1"}
"caqti-dynload" {test & = "0.10.1"}
"caqti-lwt" {test & = "0.10.1"}
"jbuilder" {build}
"sqlite3"
]
2 changes: 2 additions & 0 deletions packages/caqti-driver-sqlite3/caqti-driver-sqlite3.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
10 changes: 10 additions & 0 deletions packages/caqti-dynload/caqti-dynload.0.10.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Dynamic linking of Caqti drivers using findlib.dynload.

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.
17 changes: 17 additions & 0 deletions packages/caqti-dynload/caqti-dynload.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
opam-version: "1.2"
name: "caqti-dynload"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"jbuilder" {build}
"ocamlfind"
"ppx_driver"
]
2 changes: 2 additions & 0 deletions packages/caqti-dynload/caqti-dynload.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
1 change: 1 addition & 0 deletions packages/caqti-lwt/caqti-lwt.0.10.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Lwt support for Caqti
16 changes: 16 additions & 0 deletions packages/caqti-lwt/caqti-lwt.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
opam-version: "1.2"
name: "caqti-lwt"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"jbuilder" {build}
"lwt"
]
2 changes: 2 additions & 0 deletions packages/caqti-lwt/caqti-lwt.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Date and time field types using the calendar library.
16 changes: 16 additions & 0 deletions packages/caqti-type-calendar/caqti-type-calendar.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
opam-version: "1.2"
name: "caqti-type-calendar"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
"caqti" {= "0.10.1"}
"calendar"
"jbuilder" {build}
]
2 changes: 2 additions & 0 deletions packages/caqti-type-calendar/caqti-type-calendar.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"
17 changes: 17 additions & 0 deletions packages/caqti/caqti.0.10.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Unified interface to relational database libraries

Caqti provides a monadic cooperative-threaded OCaml connector API for
relational databases.

The purpose of Caqti is further to help make applications independent of a
particular database system. This is achieved by defining a common signature,
which is implemented by the database drivers. Connection parameters are
specified as an URI, which is typically provided at run-time. Caqti then
loads a driver which can handle the URI, and provides a first-class module
which implements the driver API and additional convenience functionality.

Caqti does not make assumptions about the structure of the query language,
and only provides the type information needed at the edges of communication
between the OCaml code and the database; i.e. for encoding parameters and
decoding returned tuples. It is hoped that this agnostic choice makes it a
suitable target for higher level interfaces and code generators.
21 changes: 21 additions & 0 deletions packages/caqti/caqti.0.10.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
opam-version: "1.2"
name: "caqti"
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: "https://github.com/paurkedal/ocaml-caqti.git"
license: "LGPL-3 with OCaml linking exception"

build: [["jbuilder" "build" "-p" name "-j" jobs]]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]

depends: [
"jbuilder" {build}
"calendar"
"ocamlfind" {build}
"ppx_optcomp" {build}
"ptime"
"uri" {>= "1.9.0"}
]
available: [ocaml-version >= "4.04.0"]
2 changes: 2 additions & 0 deletions packages/caqti/caqti.0.10.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz"
checksum: "7abd1ee41a02eb7483617cbc22b09691"