From d715d3166cfed0c3b7f1b2e31d9e8cb3669fa65a Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 20 Dec 2024 22:09:55 -0300 Subject: [PATCH 1/2] maintainers: add Denommus --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 13e3a49496f0a..816c531b44a5f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5442,6 +5442,12 @@ githubId = 62989; name = "Demyan Rogozhin"; }; + Denommus = { + email = "yuridenommus@gmail.com"; + github = "Denommus"; + githubId = 721022; + name = "Yuri da Costa Albuquerque"; + }; denperidge = { email = "contact@denperidge.com"; github = "Denperidge"; From 4b4a997e1ea53d1e363d127db93d391f0f2f8814 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 20 Dec 2024 22:10:33 -0300 Subject: [PATCH 2/2] ocamlPackages.mlx: init at 0.9 --- .../development/ocaml-modules/mlx/default.nix | 33 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/ocaml-modules/mlx/default.nix diff --git a/pkgs/development/ocaml-modules/mlx/default.nix b/pkgs/development/ocaml-modules/mlx/default.nix new file mode 100644 index 0000000000000..436fc41ab5da2 --- /dev/null +++ b/pkgs/development/ocaml-modules/mlx/default.nix @@ -0,0 +1,33 @@ +{ + lib, + fetchFromGitHub, + buildDunePackage, + ppxlib, + menhir, +}: + +buildDunePackage rec { + pname = "mlx"; + version = "0.9"; + + minimalOCamlVersion = "4.14"; + + src = fetchFromGitHub { + owner = "ocaml-mlx"; + repo = "mlx"; + rev = version; + hash = "sha256-3hPtyBKD2dp4UJBykOudW6KR2KXPnBuDnuJ1UNLpAp0="; + }; + + buildInputs = [ + ppxlib + menhir + ]; + + meta = with lib; { + description = "OCaml syntax dialect which adds JSX syntax expressions"; + homepage = "https://github.com/ocaml-mlx/mlx"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ Denommus ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 618e94b927211..1eb7e48874fd4 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1205,6 +1205,8 @@ let mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { }; + mlx = callPackage ../development/ocaml-modules/mlx { }; + mm = callPackage ../development/ocaml-modules/mm { }; mmap = callPackage ../development/ocaml-modules/mmap { };