evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / omd / default.nix
blob2ccf939ea614d9c7a971484f5403c1256063e383
1 { lib, buildDunePackage, fetchurl }:
3 buildDunePackage rec {
4   pname = "omd";
5   version = "1.3.2";
7   minimalOCamlVersion = "4.03";
9   src = fetchurl {
10     url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
11     sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
12   };
14   preBuild = ''
15     substituteInPlace src/dune --replace "bytes)" ")"
16   '';
18   meta = {
19     description = "Extensible Markdown library and tool in OCaml";
20     homepage = "https://github.com/ocaml/omd";
21     license = lib.licenses.isc;
22     maintainers = [ lib.maintainers.vbgl ];
23     mainProgram = "omd";
24   };