ocamlPackages.memtrace: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:50 -05:00
parent 1ca0bf03f4
commit 183709c846
@@ -4,23 +4,23 @@
fetchFromGitHub,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "memtrace";
version = "0.2.3";
src = fetchFromGitHub {
owner = "janestreet";
repo = pname;
rev = "v${version}";
repo = "memtrace";
rev = "v${finalAttrs.version}";
hash = "sha256-dWkTrN8ZgNUz7BW7Aut8mfx8o4n8f6UZaDv/7rbbwNs=";
};
minimalOCamlVersion = "4.11";
meta = {
homepage = "https://github.com/janestreet/${pname}";
homepage = "https://github.com/janestreet/memtrace";
description = "Streaming client for OCaml's Memprof";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ niols ];
};
}
})