summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/lua-ml/default.nix
blob: 6aeec982619f5e05edc92d5643de222ae44966ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  menhir,
}:
buildDunePackage (finalAttrs: {
  pname = "lua-ml";
  version = "0.9.5";

  src = fetchFromGitHub {
    owner = "lindig";
    repo = "lua-ml";
    tag = finalAttrs.version;
    hash = "sha256-+kg/hwcmRoM6sSL2GXOC2GrnJRu52BR5UiNu3nl5Lnk=";
  };

  nativeBuildInputs = [ menhir ];

  meta = {
    description = "Embeddable Lua 2.5 interpreter implemented in OCaml";
    homepage = "https://github.com/lindig/lua-ml";
    license = lib.licenses.bsd2;
    maintainers = [ lib.maintainers.vbgl ];
  };
})