ocamlPackages.caqti: 1.9.1 → 2.1.1
This commit is contained in:
parent
c6caed479a
commit
c29ae2c846
8 changed files with 26 additions and 25 deletions
|
@ -4,7 +4,7 @@ buildDunePackage {
|
|||
pname = "caqti-async";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.14";
|
||||
|
||||
propagatedBuildInputs = [ async_kernel async_unix caqti core_kernel ];
|
||||
|
||||
|
|
|
@ -1,25 +1,34 @@
|
|||
{ lib, fetchurl, buildDunePackage, ocaml
|
||||
, cppo, logs, ptime, uri, bigstringaf
|
||||
, re, cmdliner, alcotest
|
||||
{ lib
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, angstrom
|
||||
, bigstringaf
|
||||
, domain-name
|
||||
, dune-site
|
||||
, ipaddr
|
||||
, logs
|
||||
, lwt-dllist
|
||||
, mtime
|
||||
, ptime
|
||||
, uri
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "caqti";
|
||||
version = "1.9.1";
|
||||
version = "2.1.1";
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/paurkedal/ocaml-caqti/releases/download/v${version}/caqti-v${version}.tbz";
|
||||
sha256 = "sha256-PQBgJBNx3IcE6/vyNIf26a2xStU22LBhff8eM6UPaJ4=";
|
||||
hash = "sha256-SDpTX0HiZBkX/BgyzkrRX/w/ToKDsbMBiiYXNJWDCQo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cppo ];
|
||||
propagatedBuildInputs = [ logs ptime uri bigstringaf ];
|
||||
checkInputs = [ re cmdliner alcotest ];
|
||||
buildInputs = [ dune-site ];
|
||||
propagatedBuildInputs = [ angstrom bigstringaf domain-name ipaddr logs lwt-dllist mtime ptime uri ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
# Checks depend on caqti-driver-sqlite3 (circural dependency)
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Unified interface to relational database libraries";
|
||||
|
|
|
@ -6,8 +6,6 @@ buildDunePackage {
|
|||
|
||||
propagatedBuildInputs = [ caqti mariadb ];
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "MariaDB driver for Caqti using C bindings";
|
||||
};
|
||||
|
|
|
@ -4,8 +4,6 @@ buildDunePackage {
|
|||
pname = "caqti-driver-postgresql";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ caqti postgresql ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
{ lib, buildDunePackage, caqti, ocaml_sqlite3 }:
|
||||
{ lib, buildDunePackage, caqti, ocaml_sqlite3, alcotest }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-driver-sqlite3";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ caqti ocaml_sqlite3 ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "Sqlite3 driver for Caqti using C bindings";
|
||||
};
|
||||
|
|
|
@ -4,8 +4,6 @@ buildDunePackage {
|
|||
pname = "caqti-dynload";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ caqti findlib ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
|
|
|
@ -4,8 +4,6 @@ buildDunePackage {
|
|||
pname = "caqti-lwt";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ caqti logs lwt ];
|
||||
|
||||
meta = caqti.meta // { description = "Lwt support for Caqti"; };
|
||||
|
|
|
@ -4,8 +4,6 @@ buildDunePackage {
|
|||
pname = "caqti-type-calendar";
|
||||
inherit (caqti) src version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ calendar caqti ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
|
|
Loading…
Reference in a new issue