depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pgocaml/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

27 lines
767 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 = "An interface to PostgreSQL databases for OCaml applications";
homepage = "https://github.com/darioteixeira/pgocaml";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ vbgl ];
};
}