9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
25 lines
626 B
Nix
25 lines
626 B
Nix
{ lib, buildDunePackage, fetchurl }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "omd";
|
|
version = "1.3.2";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
|
|
sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
|
|
};
|
|
|
|
preBuild = ''
|
|
substituteInPlace src/dune --replace "bytes)" ")"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Extensible Markdown library and tool in OCaml";
|
|
homepage = "https://github.com/ocaml/omd";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
mainProgram = "omd";
|
|
};
|
|
}
|