summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dum/default.nix
blob: 5e5199c26905dfea91983b5fed1f7c1144a48637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, ocaml, findlib
, easy-format
}:

stdenv.mkDerivation rec {
  name = "ocaml${ocaml.version}-dum-${version}";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "mjambon";
    repo = "dum";
    rev = "v${version}";
    sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
  };

  buildInputs = [ ocaml findlib ];
  propagatedBuildInputs = [ easy-format ];

  createFindlibDestdir = true;

  meta = with stdenv.lib; {
    homepage = https://github.com/mjambon/dum;
    description = "Inspect the runtime representation of arbitrary OCaml values";
    license = licenses.lgpl21Plus;
    maintainers = [ maintainers.alexfmpe ];
  };
}