ocamlPackages.mdx: 1.6.0 → 1.7.0

This commit is contained in:
Vincent Laporte 2020-07-26 14:09:09 +02:00 committed by Vincent Laporte
parent 1f0baf9a3b
commit 9dab2f2de2

View File

@ -1,25 +1,24 @@
{ lib, fetchurl, buildDunePackage, opaline, ocaml
, alcotest
, astring, cmdliner, cppo, fmt, logs, ocaml-migrate-parsetree, ocaml-version, ocaml_lwt, pandoc, re }:
, astring, cmdliner, cppo, fmt, logs, ocaml-migrate-parsetree, ocaml-version, odoc, ocaml_lwt, pandoc, re }:
buildDunePackage rec {
pname = "mdx";
version = "1.6.0";
version = "1.7.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/realworldocaml/mdx/releases/download/${version}/mdx-${version}.tbz";
sha256 = "18m4ay226dwbgnwp3ia6bfcm033dvp9yby0lbddqn8ak374m2k3b";
sha256 = "0vpc30sngl3vpychrfvjwyi93mk311x3f2azlkxasgcj69fq03i7";
};
nativeBuildInputs = [ cppo ];
buildInputs = [ cmdliner ];
propagatedBuildInputs = [ astring fmt logs ocaml-migrate-parsetree ocaml-version re ];
propagatedBuildInputs = [ astring fmt logs ocaml-migrate-parsetree ocaml-version odoc re ];
checkInputs = [ alcotest ocaml_lwt pandoc ];
doCheck = true;
dontStrip = lib.versions.majorMinor ocaml.version == "4.04";
outputs = [ "bin" "lib" "out" ];
installPhase = ''