diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0cff0255031f..ad85243714b2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21651,6 +21651,11 @@ githubId = 77415970; name = "Redhawk"; }; + redianthus = { + github = "redianthus"; + githubId = 16472988; + name = "redianthus"; + }; redlonghead = { email = "git@beardit.net"; github = "Redlonghead"; 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 99de1ad2ed3e..7145b4c80832 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1973,6 +1973,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 { };