mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
40ae5e072c
* ocamlPackages.wtf8: use minimalOCamlVersion * ocamlPackages.ppx_yojson_conv: minimalOCamlVersion * ocamlPackages.postgresql: use minimalOCamlVersion * ocamlPackages.opti: use minimalOCamlVersion * ocamlPackages.opam-repository: use minimalOCamlVersion * ocamlPackages.opam-format: use minimalOCamlVersion * ocamlPackages.lwt-dllist: use minimalOCamlVersion * ocamlPackages.lacaml: use minimalOCamlVersion * ocamlPackages.gnuplot: use minimalOCamlVersion * ocamlPackages.fix: use minimalOCamlVersion * ocamlPackages.eigen: use minimalOCamlVersion * ocamlPackages.earley: use minimalOCamlVersion * ocamlPackages.directories: use minimalOCamlVersion * ocamlPackages.cpuid: use minimalOCamlVersion * build-support/ocaml: deprecate minimumOCamlVersion * build-support/ocaml: deprecate minimumOCamlVersion --------- Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
29 lines
715 B
Nix
29 lines
715 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, postgresql }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "postgresql";
|
|
version = "5.0.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmottl";
|
|
repo = "postgresql-ocaml";
|
|
rev = version;
|
|
sha256 = "1i4pnh2v00i0s7s9pcwz1x6s4xcd77d08gjjkvy0fmda6mqq6ghn";
|
|
};
|
|
|
|
nativeBuildInputs = [ postgresql ];
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ postgresql ];
|
|
|
|
meta = {
|
|
description = "Bindings to the PostgreSQL library";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ bcc32 ];
|
|
homepage = "https://mmottl.github.io/postgresql-ocaml";
|
|
};
|
|
}
|