depot/third_party/nixpkgs/pkgs/development/ocaml-modules/caqti/default.nix
Default email d56f44df06 Project import generated by Copybara.
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
2022-04-03 20:54:34 +02:00

26 lines
712 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, cppo, logs, ptime, uri }:
buildDunePackage rec {
pname = "caqti";
version = "1.7.0";
useDune2 = true;
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "paurkedal";
repo = "ocaml-${pname}";
rev = "v${version}";
sha256 = "sha256-NGK38so6ZVCRbtV3ww1u31EFAjkHgDdsFfFUwc8ldm4=";
};
nativeBuildInputs = [ 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";
};
}