3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/pgocaml/default.nix

27 lines
718 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage
2020-10-15 07:11:20 +01:00
, calendar, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
2019-08-03 15:05:30 +01:00
}:
buildDunePackage rec {
pname = "pgocaml";
2020-10-15 07:11:20 +01:00
version = "4.2.2";
2019-08-03 15:05:30 +01:00
src = fetchFromGitHub {
owner = "darioteixeira";
repo = "pgocaml";
2020-10-15 07:11:20 +01:00
rev = version;
sha256 = "1rdypc83nap9j2ml9r6n1pzgf79gk1yffwyi6fmcrl7zmy01cg0n";
};
minimumOCamlVersion = "4.08";
2020-10-15 07:11:20 +01:00
useDune2 = true;
2020-10-15 07:11:20 +01:00
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ];
meta = with lib; {
description = "An interface to PostgreSQL databases for OCaml applications";
inherit (src.meta) homepage;
license = licenses.lgpl2;
maintainers = with maintainers; [ vbgl ];
};
}