2021-01-24 03:25:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, cppo, logs, ptime, uri }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "caqti";
|
2021-04-29 10:48:14 +01:00
|
|
|
version = "1.5.1";
|
2021-01-24 03:25:21 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paurkedal";
|
|
|
|
repo = "ocaml-${pname}";
|
|
|
|
rev = "v${version}";
|
2021-04-29 10:48:14 +01:00
|
|
|
sha256 = "1vl61kdyj89whc3mh4k9bis6rbj9x2scf6hnv9afyalp4j65sqx1";
|
2021-01-24 03:25:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|