Merge pull request #213102 from vbgl/ocaml-mdx-2.2.1

ocamlPackages.mdx: 2.1.0 → 2.2.1

authored by Weijia Wang and committed by GitHub 5d5aa128 6b815fc6

+10 -14
+10 -14
pkgs/development/ocaml-modules/mdx/default.nix
··· 1 - { lib, fetchFromGitHub, buildDunePackage, ocaml 2 , alcotest 3 - , astring, cmdliner, cppo, fmt, logs, ocaml-version, odoc-parser, ocaml_lwt, re, result, csexp 4 - , pandoc 5 , gitUpdater 6 }: 7 8 buildDunePackage rec { 9 pname = "mdx"; 10 - version = "2.1.0"; 11 12 minimalOCamlVersion = "4.08"; 13 14 - src = fetchFromGitHub { 15 - owner = "realworldocaml"; 16 - repo = pname; 17 - rev = version; 18 - hash = "sha256-p7jmksltgfLFTSkPxMuJWJexLq2VvPWT/DJtDveOL/A="; 19 }; 20 21 nativeBuildInputs = [ cppo ]; 22 - buildInputs = [ cmdliner ]; 23 - propagatedBuildInputs = [ astring fmt logs result csexp ocaml-version odoc-parser re ]; 24 - nativeCheckInputs = [ alcotest ocaml_lwt pandoc ]; 25 26 - # Check fails with cmdliner ≥ 1.1 27 - doCheck = false; 28 29 outputs = [ "bin" "lib" "out" ]; 30
··· 1 + { lib, fetchurl, buildDunePackage, ocaml 2 , alcotest 3 + , astring, cppo, fmt, logs, ocaml-version, odoc-parser, lwt, re, csexp 4 , gitUpdater 5 }: 6 7 buildDunePackage rec { 8 pname = "mdx"; 9 + version = "2.2.1"; 10 11 minimalOCamlVersion = "4.08"; 12 + duneVersion = "3"; 13 14 + src = fetchurl { 15 + url = "https://github.com/realworldocaml/mdx/releases/download/${version}/mdx-${version}.tbz"; 16 + hash = "sha256-8J7XM/5EYWBfApdzdIpjU9Ablb5l65hrzOF9bdr1Cdg="; 17 }; 18 19 nativeBuildInputs = [ cppo ]; 20 + propagatedBuildInputs = [ astring fmt logs csexp ocaml-version odoc-parser re ]; 21 + nativeCheckInputs = [ alcotest lwt ]; 22 23 + doCheck = true; 24 25 outputs = [ "bin" "lib" "out" ]; 26