12 minimalOCamlVersion = "4.14";
14 src = fetchFromGitLab {
15 domain = "gitlab.inria.fr";
17 repo = "readline-ocaml";
18 rev = "b3f84c8a006439142884d3e0df51b395d963f9fe";
19 hash = "sha256-h4kGbzwM88rPGj/KkHKgGyfyvkAYHP83ZY1INZzTaIE=";
22 patches = [ ./dune.patch ];
25 echo "(${lib.getOutput "dev" readline}/include)" > src/iflags.sexp
26 echo "(-L${lib.getOutput "lib" readline}/lib -lreadline)" > src/lflags.sexp
29 propagatedBuildInputs = [ readline ];
32 description = "OCaml bindings for GNU Readline";
33 homepage = "https://vtourneu.gitlabpages.inria.fr/readline-ocaml/readline/index.html";
34 license = lib.licenses.cecill20;
35 maintainers = [ lib.maintainers.vbgl ];