10 stdenv.mkDerivation rec {
11 pname = "ocaml${ocaml.version}-dum";
14 src = fetchFromGitHub {
18 sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
22 substituteInPlace "dum.ml" \
23 --replace "Lazy.lazy_is_val" "Lazy.is_val" \
24 --replace "Obj.final_tag" "Obj.custom_tag"
31 propagatedBuildInputs = [ easy-format ];
35 createFindlibDestdir = true;
38 homepage = "https://github.com/mjambon/dum";
39 description = "Inspect the runtime representation of arbitrary OCaml values";
40 license = licenses.lgpl21Plus;
41 maintainers = [ maintainers.alexfmpe ];