34 lines
612 B
Nix
34 lines
612 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
buildDunePackage,
|
||
|
|
ppxlib,
|
||
|
|
menhir,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildDunePackage rec {
|
||
|
|
pname = "mlx";
|
||
|
|
version = "0.10";
|
||
|
|
|
||
|
|
minimalOCamlVersion = "4.14";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "ocaml-mlx";
|
||
|
|
repo = "mlx";
|
||
|
|
rev = version;
|
||
|
|
hash = "sha256-g2v6U4lubYIVKUkU0j+OwtPxK9tKvleuX+vA4ljJ1bA=";
|
||
|
|
};
|
||
|
|
|
||
|
|
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 ];
|
||
|
|
};
|
||
|
|
}
|