ocamlPackages.mem_usage: init at 0.1.2
This commit is contained in:
parent
1973ab5d4e
commit
ea2225cd69
28
pkgs/development/ocaml-modules/mem_usage/default.nix
Normal file
28
pkgs/development/ocaml-modules/mem_usage/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@ -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 { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user