depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dum/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
680 B
Nix

{ 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 ];
};
}