ocamlPackages.mdx: add update script
This commit is contained in:
parent
100c5989ae
commit
8d91e1d053
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue