Commit ea2225cd authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.mem_usage: init at 0.1.2

parent 1973ab5d
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
}:

buildDunePackage rec {
  pname = "mem_usage";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-mem_usage";
    rev = "v${version}";
    hash = "sha256-5tQNsqbiU9oJvKHUjeTo/ST4A0Axc95gdJISLaa9VRM=";
  };

  minimalOCamlVersion = "4.07";

  doCheck = true;

  meta = {
    license = lib.licenses.mit;
    homepage = "https://www.liquidsoap.info/ocaml-mem_usage/";
    description = "Cross-platform memory usage information";
    maintainers = [ lib.maintainers.vbgl ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1087,6 +1087,8 @@ let

    memtrace = callPackage ../development/ocaml-modules/memtrace { };

    mem_usage = callPackage ../development/ocaml-modules/mem_usage { };

    menhir = callPackage ../development/ocaml-modules/menhir { };

    menhirLib = callPackage ../development/ocaml-modules/menhir/lib.nix { };