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