depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dum/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

27 lines
668 B
Nix

{ 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";
};
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ easy-format ];
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 ];
};
}