1 { lib, stdenv, fetchFromGitHub, ocaml, findlib
5 stdenv.mkDerivation rec {
6 pname = "ocaml${ocaml.version}-dum";
9 src = fetchFromGitHub {
13 sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
17 substituteInPlace "dum.ml" \
18 --replace "Lazy.lazy_is_val" "Lazy.is_val" \
19 --replace "Obj.final_tag" "Obj.custom_tag"
22 nativeBuildInputs = [ ocaml findlib ];
23 propagatedBuildInputs = [ easy-format ];
27 createFindlibDestdir = true;
30 homepage = "https://github.com/mjambon/dum";
31 description = "Inspect the runtime representation of arbitrary OCaml values";
32 license = licenses.lgpl21Plus;
33 maintainers = [ maintainers.alexfmpe ];