Skip to content

Commit

Permalink
ocamlPackages.mlx: init at 0.9 (#366892)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikstrid authored Dec 21, 2024
2 parents 8dacc3a + 4b4a997 commit 9a6ed10
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5448,6 +5448,12 @@
githubId = 62989;
name = "Demyan Rogozhin";
};
Denommus = {
email = "[email protected]";
github = "Denommus";
githubId = 721022;
name = "Yuri da Costa Albuquerque";
};
denperidge = {
email = "[email protected]";
github = "Denperidge";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/development/ocaml-modules/mlx/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 9a6ed10

Please sign in to comment.