From fa133b4f85eede7a4f4ec98eff0aee7081a32108 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 26 Jun 2026 07:47:59 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ocsipersist:=202.0.0=20=E2=86=92?= =?UTF-8?q?=202.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/ocsipersist/lib.nix | 35 +++++++------------ 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/pkgs/development/ocaml-modules/ocsipersist/lib.nix b/pkgs/development/ocaml-modules/ocsipersist/lib.nix index 339e1c11d0f6..d498b0e41eb2 100644 --- a/pkgs/development/ocaml-modules/ocsipersist/lib.nix +++ b/pkgs/development/ocaml-modules/ocsipersist/lib.nix @@ -1,41 +1,30 @@ { lib, buildDunePackage, - applyPatches, - fetchpatch, fetchFromGitHub, + js_of_ocaml, lwt_ppx, lwt, }: buildDunePackage (finalAttrs: { pname = "ocsipersist-lib"; - version = "2.0.0"; + version = "2.1.0"; - src = applyPatches { + minimalOCamlVersion = "4.13"; - src = fetchFromGitHub { - owner = "ocsigen"; - repo = "ocsipersist"; - tag = finalAttrs.version; - hash = "sha256-7CKKwJxqxUpCMNs4xGbsMZ6Qud9AnczBStTXS+N21DU="; - }; - - patches = [ - # Migrate to logs - (fetchpatch { - url = "https://github.com/ocsigen/ocsipersist/commit/1fc0088b4dc2226f01863dd25f8ed56528c5543d.patch"; - hash = "sha256-WR7SW8jAAo47AIQ7UMQNF8FTXgj6FbxIqFjrLhu7wFs="; - excludes = [ - "*.opam" - "dune-project" - ]; - }) - ]; + src = fetchFromGitHub { + owner = "ocsigen"; + repo = "ocsipersist"; + tag = finalAttrs.version; + hash = "sha256-YJzfgeyNXgBXAK607ROUXUmSpMKYx63ofZaBB8dnsq4="; }; buildInputs = [ lwt_ppx ]; - propagatedBuildInputs = [ lwt ]; + propagatedBuildInputs = [ + js_of_ocaml + lwt + ]; meta = { description = "Persistent key/value storage (for Ocsigen) - support library";