From 2236baec50513d9810951a9cf8f1fc32e237997e Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Sun, 21 Sep 2025 23:41:44 +0200 Subject: [PATCH 1/2] maintainers: add redianthus --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0aa55447d929..cbd27f09bfd0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21630,6 +21630,11 @@ githubId = 77415970; name = "Redhawk"; }; + redianthus = { + github = "redianthus"; + githubId = 16472988; + name = "redianthus"; + }; redlonghead = { email = "git@beardit.net"; github = "Redlonghead"; From 6c3c3951fb76343e5f8589db3ab0f82cea1d8f30 Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Fri, 3 Oct 2025 16:01:11 +0200 Subject: [PATCH 2/2] ocamlPackages.synchronizer: init at 0.1 --- .../ocaml-modules/synchronizer/default.nix | 32 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/ocaml-modules/synchronizer/default.nix diff --git a/pkgs/development/ocaml-modules/synchronizer/default.nix b/pkgs/development/ocaml-modules/synchronizer/default.nix new file mode 100644 index 000000000000..8d827b2c0bd9 --- /dev/null +++ b/pkgs/development/ocaml-modules/synchronizer/default.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + buildDunePackage, + prelude, +}: + +buildDunePackage rec { + pname = "synchronizer"; + version = "0.1"; + + minimalOCamlVersion = "5.1"; + + src = fetchFromGitHub { + owner = "OCamlPro"; + repo = "synchronizer"; + tag = version; + hash = "sha256-VlKqORXTXafT88GXHIYkz+A1VkEL3jP9SMqDdMyEdrw="; + }; + + propagatedBuildInputs = [ + prelude + ]; + + 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"; + license = lib.licenses.agpl3Plus; + maintainers = with lib.maintainers; [ redianthus ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index f884a3d7ad7f..07345c1958b5 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1977,6 +1977,8 @@ let swhid_core = callPackage ../development/ocaml-modules/swhid_core { }; + synchronizer = callPackage ../development/ocaml-modules/synchronizer { }; + syslog = callPackage ../development/ocaml-modules/syslog { }; syslog-message = callPackage ../development/ocaml-modules/syslog-message { };