Unverified Commit 7c474ba6 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.markdown: init at 0.2.1

parent fd145cd3
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  lib,
  buildDunePackage,
  fetchurl,
  batteries,
  tyxml,
  ounit2,
}:

buildDunePackage (finalAttrs: {
  pname = "markdown";
  version = "0.2.1";

  src = fetchurl {
    url = "https://github.com/gildor478/ocaml-markdown/releases/download/v${finalAttrs.version}/markdown-v${finalAttrs.version}.tbz";
    hash = "sha256-nFdbdK0UIpqwiYGaNIoaj0UwI7/PHCDrxfxHNDYj3l4=";
  };

  propagatedBuildInputs = [
    batteries
    tyxml
  ];

  doCheck = true;

  checkInputs = [ ounit2 ];

  meta = {
    homepage = "https://github.com/gildor478/ocaml-markdown";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.vbgl ];
    description = "Markdown parser and printer";
  };

})
+2 −0
Original line number Diff line number Diff line
@@ -1136,6 +1136,8 @@ let
          inherit (pkgs) mariadb;
        };

        markdown = callPackage ../development/ocaml-modules/markdown { };

        markup = callPackage ../development/ocaml-modules/markup { };

        mccs = callPackage ../development/ocaml-modules/mccs { };