forked from mirrors/nixpkgs
ocamlPackages.mdx: init at 1.4.0
This commit is contained in:
parent
99fec0eeb3
commit
b8495898df
28
pkgs/development/ocaml-modules/mdx/default.nix
Normal file
28
pkgs/development/ocaml-modules/mdx/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, fetchFromGitHub, buildDunePackage, astring, cmdliner, cppo, fmt, logs, ocaml-migrate-parsetree, ocaml_lwt, pandoc, re }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "mdx";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.05";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "realworldocaml";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0ljd00d261s2wf7cab086asqi39icf9zs4nylni6dldaqb027d4w";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cppo ];
|
||||||
|
buildInputs = [ astring cmdliner fmt logs ocaml-migrate-parsetree re ];
|
||||||
|
checkInputs = [ ocaml_lwt pandoc ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/realworldocaml/mdx;
|
||||||
|
description = "Executable OCaml code blocks inside markdown files";
|
||||||
|
license = stdenv.lib.licenses.isc;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -428,6 +428,8 @@ let
|
||||||
|
|
||||||
markup = callPackage ../development/ocaml-modules/markup { lwt = ocaml_lwt; };
|
markup = callPackage ../development/ocaml-modules/markup { lwt = ocaml_lwt; };
|
||||||
|
|
||||||
|
mdx = callPackage ../development/ocaml-modules/mdx { };
|
||||||
|
|
||||||
menhir = callPackage ../development/ocaml-modules/menhir { };
|
menhir = callPackage ../development/ocaml-modules/menhir { };
|
||||||
|
|
||||||
merlin = callPackage ../development/tools/ocaml/merlin { };
|
merlin = callPackage ../development/tools/ocaml/merlin { };
|
||||||
|
|
Loading…
Reference in a new issue