mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ocamlPackages.caqti*: init at 1.3.0
Except for caqti-type-calendar, whose most recent version number is 1.2.0.
This commit is contained in:
parent
5b13986979
commit
1b6764da4e
11
pkgs/development/ocaml-modules/caqti/async.nix
Normal file
11
pkgs/development/ocaml-modules/caqti/async.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ lib, buildDunePackage, async_kernel, async_unix, caqti, core_kernel }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-async";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ async_kernel async_unix caqti core_kernel ];
|
||||
|
||||
meta = caqti.meta // { description = "Async support for Caqti"; };
|
||||
}
|
26
pkgs/development/ocaml-modules/caqti/default.nix
Normal file
26
pkgs/development/ocaml-modules/caqti/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, cppo, logs, ptime, uri }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "caqti";
|
||||
version = "1.3.0";
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paurkedal";
|
||||
repo = "ocaml-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ksjchfjnh059wvd95my1sv9b0ild0dfaiynbf2xsaz7zg1y4xmw";
|
||||
};
|
||||
|
||||
buildInputs = [ cppo ];
|
||||
propagatedBuildInputs = [ logs ptime uri ];
|
||||
|
||||
meta = {
|
||||
description = "Unified interface to relational database libraries";
|
||||
license = "LGPL-3.0-or-later WITH OCaml-LGPL-linking-exception";
|
||||
maintainers = with lib.maintainers; [ bcc32 ];
|
||||
homepage = "https://github.com/paurkedal/ocaml-caqti";
|
||||
};
|
||||
}
|
13
pkgs/development/ocaml-modules/caqti/driver-mariadb.nix
Normal file
13
pkgs/development/ocaml-modules/caqti/driver-mariadb.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, buildDunePackage, caqti, mariadb }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-driver-mariadb";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ caqti mariadb ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "MariaDB driver for Caqti using C bindings";
|
||||
};
|
||||
}
|
13
pkgs/development/ocaml-modules/caqti/driver-postgresql.nix
Normal file
13
pkgs/development/ocaml-modules/caqti/driver-postgresql.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, buildDunePackage, caqti, postgresql }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-driver-postgresql";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ caqti postgresql ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "PostgreSQL driver for Caqti based on C bindings";
|
||||
};
|
||||
}
|
13
pkgs/development/ocaml-modules/caqti/driver-sqlite3.nix
Normal file
13
pkgs/development/ocaml-modules/caqti/driver-sqlite3.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, buildDunePackage, caqti, ocaml_sqlite3 }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-driver-sqlite3";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ caqti ocaml_sqlite3 ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "Sqlite3 driver for Caqti using C bindings";
|
||||
};
|
||||
}
|
13
pkgs/development/ocaml-modules/caqti/dynload.nix
Normal file
13
pkgs/development/ocaml-modules/caqti/dynload.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, buildDunePackage, caqti }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-dynload";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ caqti ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "Dynamic linking of Caqti drivers using findlib.dynload";
|
||||
};
|
||||
}
|
11
pkgs/development/ocaml-modules/caqti/lwt.nix
Normal file
11
pkgs/development/ocaml-modules/caqti/lwt.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ lib, buildDunePackage, caqti, logs, lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-lwt";
|
||||
useDune2 = true;
|
||||
inherit (caqti) version src;
|
||||
|
||||
propagatedBuildInputs = [ caqti logs lwt ];
|
||||
|
||||
meta = caqti.meta // { description = "Lwt support for Caqti"; };
|
||||
}
|
14
pkgs/development/ocaml-modules/caqti/type-calendar.nix
Normal file
14
pkgs/development/ocaml-modules/caqti/type-calendar.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ lib, buildDunePackage, calendar, caqti }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "caqti-type-calendar";
|
||||
version = "1.2.0";
|
||||
useDune2 = true;
|
||||
inherit (caqti) src;
|
||||
|
||||
propagatedBuildInputs = [ calendar caqti ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
description = "Date and time field types using the calendar library";
|
||||
};
|
||||
}
|
@ -130,6 +130,22 @@ let
|
||||
|
||||
cairo2 = callPackage ../development/ocaml-modules/cairo2 { };
|
||||
|
||||
caqti = callPackage ../development/ocaml-modules/caqti { };
|
||||
|
||||
caqti-async = callPackage ../development/ocaml-modules/caqti/async.nix { };
|
||||
|
||||
caqti-driver-mariadb = callPackage ../development/ocaml-modules/caqti/driver-mariadb.nix { };
|
||||
|
||||
caqti-driver-postgresql = callPackage ../development/ocaml-modules/caqti/driver-postgresql.nix { };
|
||||
|
||||
caqti-driver-sqlite3 = callPackage ../development/ocaml-modules/caqti/driver-sqlite3.nix { };
|
||||
|
||||
caqti-dynload = callPackage ../development/ocaml-modules/caqti/dynload.nix { };
|
||||
|
||||
caqti-lwt = callPackage ../development/ocaml-modules/caqti/lwt.nix { };
|
||||
|
||||
caqti-type-calendar = callPackage ../development/ocaml-modules/caqti/type-calendar.nix { };
|
||||
|
||||
cfstream = callPackage ../development/ocaml-modules/cfstream { };
|
||||
|
||||
charInfo_width = callPackage ../development/ocaml-modules/charInfo_width { };
|
||||
|
Loading…
Reference in New Issue
Block a user