Skip to content

Commit c34f9cf

Browse files
authored
Merge pull request #278772 from vbgl/ocaml-pgocaml-4.4.0
ocamlPackages.pgocaml: 4.3.0 → 4.4.0
2 parents 0389a68 + dec2122 commit c34f9cf

File tree

4 files changed

+9
-48
lines changed

4 files changed

+9
-48
lines changed

pkgs/development/ocaml-modules/macaque/default.nix

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
1-
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, ocaml
1+
{ lib, fetchFromGitHub, buildDunePackage
22
, calendar, camlp-streams, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
33
}:
44

5-
let with-camlp-streams = lib.optional (lib.versionAtLeast ocaml.version "5.0"); in
6-
75
buildDunePackage rec {
86
pname = "pgocaml";
9-
version = "4.3.0";
7+
version = "4.4.0";
108
src = fetchFromGitHub {
119
owner = "darioteixeira";
1210
repo = "pgocaml";
13-
rev = version;
14-
hash = "sha256-W1fbRnU1l61qqxfVY2qiBnVpGD81xrBO8k0tWr+RXMY=";
11+
rev = "v${version}";
12+
hash = "sha256-Mz3zVgXas1UivH/BVARx5kWClgr9v9YcGarwaD961tU=";
1513
};
1614

17-
# Compatibility with OCaml ≥ 5.0
18-
patches = with-camlp-streams (fetchpatch {
19-
url = "https://github.com/darioteixeira/pgocaml/commit/906a289dc57da4971e312c31eedd26d81e902ed5.patch";
20-
hash = "sha256-/v9Jheg98GhrcD2gcsQpPvq7YiIrvJj22SKvrBRlR9Y=";
21-
});
22-
2315
minimalOCamlVersion = "4.08";
2416

25-
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ]
26-
++ with-camlp-streams camlp-streams;
17+
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re
18+
rresult sexplib camlp-streams
19+
];
2720

2821
meta = with lib; {
2922
description = "An interface to PostgreSQL databases for OCaml applications";
30-
inherit (src.meta) homepage;
31-
license = licenses.lgpl2;
23+
homepage = "https://github.com/darioteixeira/pgocaml";
24+
license = licenses.lgpl2Only;
3225
maintainers = with maintainers; [ vbgl ];
3326
};
3427
}

pkgs/development/ocaml-modules/pgocaml/ppx.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ buildDunePackage {
44
pname = "pgocaml_ppx";
55
inherit (pgocaml) src version meta;
66

7-
duneVersion = "3";
8-
97
buildInputs = [ ppx_optcomp ];
108
propagatedBuildInputs = [ pgocaml ];
119
}

pkgs/top-level/ocaml-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,6 @@ let
10101010

10111011
macaddr-sexp = callPackage ../development/ocaml-modules/macaddr/sexp.nix { };
10121012

1013-
macaque = callPackage ../development/ocaml-modules/macaque { };
1014-
10151013
mad = callPackage ../development/ocaml-modules/mad { };
10161014

10171015
magic = callPackage ../development/ocaml-modules/magic { };

0 commit comments

Comments
 (0)