mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
8706ed24e5
Propagate the `easy-format` dependency. Fix build with OCaml ≥ 4.09.
28 lines
678 B
Nix
28 lines
678 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 ];
|
|
};
|
|
}
|