depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pgocaml/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
764 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, calendar, camlp-streams, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
}:
buildDunePackage rec {
pname = "pgocaml";
version = "4.4.0";
src = fetchFromGitHub {
owner = "darioteixeira";
repo = "pgocaml";
rev = "v${version}";
hash = "sha256-Mz3zVgXas1UivH/BVARx5kWClgr9v9YcGarwaD961tU=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re
rresult sexplib camlp-streams
];
meta = with lib; {
description = "Interface to PostgreSQL databases for OCaml applications";
homepage = "https://github.com/darioteixeira/pgocaml";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ vbgl ];
};
}