567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
610 B
Nix
34 lines
610 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 = {
|
|
description = "OCaml syntax dialect which adds JSX syntax expressions";
|
|
homepage = "https://github.com/ocaml-mlx/mlx";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ Denommus ];
|
|
};
|
|
}
|