1 { lib, fetchurl, ocaml, buildDunePackage }:
4 if lib.versionAtLeast ocaml.version "4.08" then {
6 sha256 = "sha256:05n4mm1yz33h9gw811ivjw7x4m26lpmf7kns9lza4v6227lwmz7a";
9 sha256 = "sha256:09hrikx310pac2sb6jzaa7k6fmiznnmhdsqij1gawdymhawc4h1l";
13 buildDunePackage rec {
14 pname = "easy-format";
15 inherit (params) version;
18 url = "https://github.com/ocaml-community/easy-format/releases/download/${version}/easy-format-${version}.tbz";
19 inherit (params) sha256;
25 description = "A high-level and functional interface to the Format module of the OCaml standard library";
26 homepage = "https://github.com/ocaml-community/easy-format";
27 license = licenses.bsd3;
28 maintainers = [ maintainers.vbgl ];