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