diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/dum/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/dum/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dum/default.nix b/pkgs/development/ocaml-modules/dum/default.nix new file mode 100644 index 00000000000..3faef36e8ec --- /dev/null +++ b/pkgs/development/ocaml-modules/dum/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, ocaml, findlib +, easy-format +}: + +stdenv.mkDerivation rec { + pname = "ocaml${ocaml.version}-dum"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "mjambon"; + repo = "dum"; + rev = "v${version}"; + sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr"; + }; + + nativeBuildInputs = [ ocaml findlib ]; + propagatedBuildInputs = [ easy-format ]; + + strictDeps = true; + + createFindlibDestdir = true; + + meta = with lib; { + homepage = "https://github.com/mjambon/dum"; + description = "Inspect the runtime representation of arbitrary OCaml values"; + license = licenses.lgpl21Plus; + maintainers = [ maintainers.alexfmpe ]; + }; +} |