Skip to content

Commit

Permalink
ocamlPackages.mlx: init at 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Denommus committed Dec 21, 2024
1 parent d715d31 commit 4b4a997
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
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 4b4a997

Please sign in to comment.