depot/third_party/nixpkgs/pkgs/development/ocaml-modules/caqti/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

31 lines
824 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, cppo, logs, ptime, uri, bigstringaf
, re, cmdliner, alcotest }:
buildDunePackage rec {
pname = "caqti";
version = "1.8.0";
useDune2 = true;
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "paurkedal";
repo = "ocaml-${pname}";
rev = "v${version}";
sha256 = "sha256-8uKlrq9j1Z3QzkCyoRIn2j6wCdGyo7BY7XlbFHN1xVE=";
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [ logs ptime uri bigstringaf ];
checkInputs = [ re cmdliner alcotest ];
doCheck = true;
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";
};
}