2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, cppo, logs, ptime, uri }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "caqti";
|
2022-04-03 18:54:34 +00:00
|
|
|
version = "1.7.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paurkedal";
|
|
|
|
repo = "ocaml-${pname}";
|
|
|
|
rev = "v${version}";
|
2022-04-03 18:54:34 +00:00
|
|
|
sha256 = "sha256-NGK38so6ZVCRbtV3ww1u31EFAjkHgDdsFfFUwc8ldm4=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ cppo ];
|
2021-02-05 17:12:51 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|