1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5}:
6
7buildDunePackage rec {
8 pname = "mem_usage";
9 version = "0.1.2";
10
11 src = fetchFromGitHub {
12 owner = "savonet";
13 repo = "ocaml-mem_usage";
14 rev = "v${version}";
15 hash = "sha256-5tQNsqbiU9oJvKHUjeTo/ST4A0Axc95gdJISLaa9VRM=";
16 };
17
18 minimalOCamlVersion = "4.07";
19
20 doCheck = true;
21
22 meta = {
23 license = lib.licenses.mit;
24 homepage = "https://www.liquidsoap.info/ocaml-mem_usage/";
25 description = "Cross-platform memory usage information";
26 maintainers = [ lib.maintainers.vbgl ];
27 };
28}