15 webpage = "https://erratique.ch/software/${pname}";
20 pname = "ocaml${ocaml.version}-${pname}";
24 url = "${webpage}/releases/${pname}-${version}.tbz";
25 hash = "sha256-02U23mYTy0ZJgSObDoyygPTGEMC4/Zge5bux4wshaEE=";
34 buildInputs = [ topkg ];
36 propagatedBuildInputs = [ uutf ];
40 inherit (topkg) buildPhase installPhase;
43 description = "OpenType font decoder for OCaml";
45 Otfm is an in-memory decoder for the OpenType font data format. It
46 provides low-level access to font tables and functions to decode some
50 license = licenses.bsd3;
51 maintainers = [ maintainers.jirkamarsik ];
52 mainProgram = "otftrip";
53 inherit (ocaml.meta) platforms;