ocamlPackages.pgocaml: 4.0 → 4.2.2

This commit is contained in:
Vincent Laporte 2020-10-15 08:11:20 +02:00 committed by Vincent Laporte
parent 1e985c9e29
commit ec3aa4c109
2 changed files with 10 additions and 11 deletions

View File

@ -1,22 +1,21 @@
{ lib, fetchFromGitHub, buildDunePackage { lib, fetchFromGitHub, buildDunePackage
, calendar, csv, hex, re , calendar, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "pgocaml"; pname = "pgocaml";
version = "4.0"; version = "4.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "darioteixeira"; owner = "darioteixeira";
repo = "pgocaml"; repo = "pgocaml";
rev = "v${version}"; rev = version;
sha256 = "1s8c5prr7jb9k76bz990m836czm6k8rv5bvp6s2zg9ra0w19w90j"; sha256 = "1rdypc83nap9j2ml9r6n1pzgf79gk1yffwyi6fmcrl7zmy01cg0n";
}; };
minimumOCamlVersion = "4.05"; minimumOCamlVersion = "4.07";
useDune2 = true;
preConfigure = "patchShebangs src/genconfig.sh"; propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ];
propagatedBuildInputs = [ calendar csv hex re ];
meta = with lib; { meta = with lib; {
description = "An interface to PostgreSQL databases for OCaml applications"; description = "An interface to PostgreSQL databases for OCaml applications";

View File

@ -1,8 +1,8 @@
{ buildDunePackage, pgocaml, ppx_tools, ppx_tools_versioned, rresult }: { buildDunePackage, pgocaml, ppx_optcomp, ppx_tools, ppx_tools_versioned, rresult }:
buildDunePackage { buildDunePackage {
pname = "pgocaml_ppx"; pname = "pgocaml_ppx";
inherit (pgocaml) src version meta; inherit (pgocaml) src version useDune2 meta;
propagatedBuildInputs = [ pgocaml ppx_tools ppx_tools_versioned rresult ]; propagatedBuildInputs = [ pgocaml ppx_optcomp ppx_tools ppx_tools_versioned rresult ];
} }