at 23.05-pre 29 lines 696 B view raw
1{ lib, stdenv, fetchFromGitHub, ocaml, findlib 2, easy-format 3}: 4 5stdenv.mkDerivation rec { 6 pname = "ocaml${ocaml.version}-dum"; 7 version = "1.0.1"; 8 9 src = fetchFromGitHub { 10 owner = "mjambon"; 11 repo = "dum"; 12 rev = "v${version}"; 13 sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr"; 14 }; 15 16 nativeBuildInputs = [ ocaml findlib ]; 17 propagatedBuildInputs = [ easy-format ]; 18 19 strictDeps = true; 20 21 createFindlibDestdir = true; 22 23 meta = with lib; { 24 homepage = "https://github.com/mjambon/dum"; 25 description = "Inspect the runtime representation of arbitrary OCaml values"; 26 license = licenses.lgpl21Plus; 27 maintainers = [ maintainers.alexfmpe ]; 28 }; 29}