4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
27 lines
673 B
Nix
27 lines
673 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, postgresql }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "postgresql";
|
|
version = "5.0.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmottl";
|
|
repo = "postgresql-ocaml";
|
|
rev = version;
|
|
sha256 = "1i4pnh2v00i0s7s9pcwz1x6s4xcd77d08gjjkvy0fmda6mqq6ghn";
|
|
};
|
|
|
|
nativeBuildInputs = [ postgresql ];
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
meta = {
|
|
description = "Bindings to the PostgreSQL library";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ bcc32 ];
|
|
homepage = "https://mmottl.github.io/postgresql-ocaml";
|
|
};
|
|
}
|