2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ocaml, findlib
|
2020-01-26 01:10:17 +00:00
|
|
|
, easy-format
|
|
|
|
}:
|
|
|
|
|
2020-02-20 05:13:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-02-10 00:28:00 +00:00
|
|
|
pname = "ocaml${ocaml.version}-dum";
|
2020-01-26 01:10:17 +00:00
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjambon";
|
2020-02-20 05:13:47 +00:00
|
|
|
repo = "dum";
|
2020-01-26 01:10:17 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
|
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ];
|
2020-02-20 05:13:47 +00:00
|
|
|
propagatedBuildInputs = [ easy-format ];
|
2020-01-26 01:10:17 +00:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-02-20 05:13:47 +00:00
|
|
|
createFindlibDestdir = true;
|
2020-01-26 01:10:17 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mjambon/dum";
|
2020-01-26 01:10:17 +00:00
|
|
|
description = "Inspect the runtime representation of arbitrary OCaml values";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
|
|
};
|
|
|
|
}
|