ocamlPackages.mem_usage: init at 0.1.2

This commit is contained in:
Vincent Laporte 2025-01-20 09:08:25 +01:00 committed by Vincent Laporte
parent 1973ab5d4e
commit ea2225cd69
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{
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 ];
};
}

View File

@ -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 { };