ocamlPackages.caqti: use Dune 3
This commit is contained in:
parent
7dba85e9f8
commit
9100134ba9
|
@ -4,6 +4,8 @@ buildDunePackage {
|
||||||
pname = "caqti-async";
|
pname = "caqti-async";
|
||||||
inherit (caqti) version src;
|
inherit (caqti) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ async_kernel async_unix caqti core_kernel ];
|
propagatedBuildInputs = [ async_kernel async_unix caqti core_kernel ];
|
||||||
|
|
||||||
meta = caqti.meta // { description = "Async support for Caqti"; };
|
meta = caqti.meta // { description = "Async support for Caqti"; };
|
||||||
|
|
|
@ -8,6 +8,7 @@ buildDunePackage rec {
|
||||||
version = "1.9.1";
|
version = "1.9.1";
|
||||||
|
|
||||||
minimalOCamlVersion = "4.04";
|
minimalOCamlVersion = "4.04";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/paurkedal/ocaml-caqti/releases/download/v${version}/caqti-v${version}.tbz";
|
url = "https://github.com/paurkedal/ocaml-caqti/releases/download/v${version}/caqti-v${version}.tbz";
|
||||||
|
|
|
@ -6,6 +6,8 @@ buildDunePackage {
|
||||||
|
|
||||||
propagatedBuildInputs = [ caqti mariadb ];
|
propagatedBuildInputs = [ caqti mariadb ];
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
meta = caqti.meta // {
|
meta = caqti.meta // {
|
||||||
description = "MariaDB driver for Caqti using C bindings";
|
description = "MariaDB driver for Caqti using C bindings";
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage {
|
||||||
pname = "caqti-driver-postgresql";
|
pname = "caqti-driver-postgresql";
|
||||||
inherit (caqti) version src;
|
inherit (caqti) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ caqti postgresql ];
|
propagatedBuildInputs = [ caqti postgresql ];
|
||||||
|
|
||||||
meta = caqti.meta // {
|
meta = caqti.meta // {
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{ lib, buildDunePackage, caqti }:
|
{ lib, buildDunePackage, caqti, findlib }:
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "caqti-dynload";
|
pname = "caqti-dynload";
|
||||||
inherit (caqti) version src;
|
inherit (caqti) version src;
|
||||||
|
|
||||||
propagatedBuildInputs = [ caqti ];
|
duneVersion = "3";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ caqti findlib ];
|
||||||
|
|
||||||
meta = caqti.meta // {
|
meta = caqti.meta // {
|
||||||
description = "Dynamic linking of Caqti drivers using findlib.dynload";
|
description = "Dynamic linking of Caqti drivers using findlib.dynload";
|
||||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage {
|
||||||
pname = "caqti-lwt";
|
pname = "caqti-lwt";
|
||||||
inherit (caqti) version src;
|
inherit (caqti) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ caqti logs lwt ];
|
propagatedBuildInputs = [ caqti logs lwt ];
|
||||||
|
|
||||||
meta = caqti.meta // { description = "Lwt support for Caqti"; };
|
meta = caqti.meta // { description = "Lwt support for Caqti"; };
|
||||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage {
|
||||||
pname = "caqti-type-calendar";
|
pname = "caqti-type-calendar";
|
||||||
inherit (caqti) src version;
|
inherit (caqti) src version;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ calendar caqti ];
|
propagatedBuildInputs = [ calendar caqti ];
|
||||||
|
|
||||||
meta = caqti.meta // {
|
meta = caqti.meta // {
|
||||||
|
|
Loading…
Reference in a new issue