ocamlPackages.postgresql: init at 4.6.3

This commit is contained in:
Aaron L. Zeng 2021-01-24 13:28:12 -05:00 committed by Vincent Laporte
parent fce29131f5
commit f58c4e236f
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, fetchFromGitHub, buildDunePackage, postgresql }:
buildDunePackage rec {
pname = "postgresql";
version = "4.6.3";
minimumOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "mmottl";
repo = "postgresql-ocaml";
rev = version;
sha256 = "0fd96qqwkwjhv6pawk4wivwncszkif0sq05f0g5gd28jzwrsvpqr";
};
buildInputs = [ postgresql ];
meta = {
description = "Bindings to the PostgreSQL library";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ bcc32 ];
homepage = "https://mmottl.github.io/postgresql-ocaml";
};
}

View File

@ -873,6 +873,10 @@ let
posix-types = callPackage ../development/ocaml-modules/posix/types.nix { };
postgresql = callPackage ../development/ocaml-modules/postgresql {
inherit (pkgs) postgresql;
};
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };