aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix b/nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix
index 1331c10d426..f384704a1c4 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/mdx/default.nix
@@ -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 = ''