Files
nixpkgs/pkgs/development/ocaml-modules/markdown/default.nix
T
2025-12-12 16:14:28 +01:00

36 lines
691 B
Nix

{
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";
};
})