mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
29 lines
587 B
Nix
29 lines
587 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "mem_usage";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savonet";
|
|
repo = "ocaml-mem_usage";
|
|
rev = "v${finalAttrs.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 ];
|
|
};
|
|
})
|