Files
nixpkgs/pkgs/development/ocaml-modules/pgocaml/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

47 lines
818 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 = {
description = "Interface to PostgreSQL databases for OCaml applications";
homepage = "https://github.com/darioteixeira/pgocaml";
license = lib.licenses.lgpl2Only;
maintainers = with lib.maintainers; [ vbgl ];
};
}