nixpkgs/pkgs/development/ocaml-modules/omd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
626 B
Nix
Raw Normal View History

2022-07-22 15:59:51 +00:00
{ lib, buildDunePackage, fetchurl }:
2022-07-22 15:59:51 +00:00
buildDunePackage rec {
pname = "omd";
version = "1.3.2";
minimalOCamlVersion = "4.03";
src = fetchurl {
2022-07-22 15:59:51 +00:00
url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
};
2023-06-05 05:41:56 +00:00
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";
};
}