ocamlPackages.postgresql: init at 4.6.3
This commit is contained in:
parent
fce29131f5
commit
f58c4e236f
24
pkgs/development/ocaml-modules/postgresql/default.nix
Normal file
24
pkgs/development/ocaml-modules/postgresql/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -873,6 +873,10 @@ let
|
|||||||
|
|
||||||
posix-types = callPackage ../development/ocaml-modules/posix/types.nix { };
|
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 { };
|
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
|
||||||
|
|
||||||
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };
|
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };
|
||||||
|
Loading…
Reference in New Issue
Block a user