From dcbe21065834f77c94a60002eb4bb201ba2d94fe Mon Sep 17 00:00:00 2001 From: redianthus Date: Mon, 22 Dec 2025 15:08:19 +0100 Subject: [PATCH] ocamlPackages.synchronizer: 0.1 -> 0.2 --- .../ocaml-modules/synchronizer/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/synchronizer/default.nix b/pkgs/development/ocaml-modules/synchronizer/default.nix index 8d827b2c0bd9..f61c99238f43 100644 --- a/pkgs/development/ocaml-modules/synchronizer/default.nix +++ b/pkgs/development/ocaml-modules/synchronizer/default.nix @@ -3,30 +3,35 @@ fetchFromGitHub, buildDunePackage, prelude, + alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "synchronizer"; - version = "0.1"; + version = "0.2"; minimalOCamlVersion = "5.1"; src = fetchFromGitHub { owner = "OCamlPro"; repo = "synchronizer"; - tag = version; - hash = "sha256-VlKqORXTXafT88GXHIYkz+A1VkEL3jP9SMqDdMyEdrw="; + tag = "${finalAttrs.version}"; + hash = "sha256-0XtPHpDlyH1h8W2ZlRvJbZjCN9WP5mzk2N01WFd8eLQ="; }; propagatedBuildInputs = [ prelude ]; + checkInputs = [ + alcotest + ]; + meta = { homepage = "https://github.com/OCamlPro/synchronizer"; description = "Synchronizer to make datastructures thread-safe"; - changelog = "https://raw.githubusercontent.com/OCamlPro/synchronizer/${src.rev}/CHANGES.md"; + changelog = "https://raw.githubusercontent.com/OCamlPro/synchronizer/${finalAttrs.src.rev}/CHANGES.md"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ redianthus ]; }; -} +})