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