ocamlPackages.mdx: add update script

This commit is contained in:
José Romildo 2022-10-23 08:08:32 -03:00
parent 100c5989ae
commit 8d91e1d053

View file

@ -1,7 +1,9 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml
, alcotest
, astring, cmdliner, cppo, fmt, logs, ocaml-version, odoc-parser, ocaml_lwt, re, result, csexp
, pandoc}:
, pandoc
, gitUpdater
}:
buildDunePackage rec {
pname = "mdx";
@ -32,6 +34,8 @@ buildDunePackage rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = {
description = "Executable OCaml code blocks inside markdown files";
homepage = "https://github.com/realworldocaml/mdx";