10 buildDunePackage rec {
13 minimalOCamlVersion = "4.03";
16 url = "https://github.com/mirage/coin/releases/download/v${version}/coin-${version}.tbz";
17 sha256 = "sha256:0069qqswd1ik5ay3d5q1v1pz0ql31kblfsnv0ax0z8jwvacp3ack";
21 substituteInPlace src/dune --replace 'ocaml} ' \
22 'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib '
25 nativeBuildInputs = [ findlib ];
31 description = "Library to normalize an KOI8-{U,R} input to Unicode";
32 homepage = "https://github.com/mirage/coin";
33 license = lib.licenses.mit;
35 mainProgram = "coin.generate";