speedscope: migrate to finalAttrs

This commit is contained in:
Harinn
2026-04-22 20:49:01 +07:00
parent 6c88c36eac
commit 6219ed65ed
+3 -3
View File
@@ -5,14 +5,14 @@
versionCheckHook,
}:
buildNpmPackage rec {
buildNpmPackage (finalAttrs: {
pname = "speedscope";
version = "1.25.0";
src = fetchFromGitHub {
owner = "jlfwong";
repo = "speedscope";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-2kBgOMWSr3XEkcfzetA4njIE2co+mHoPPUFmKn0tMVk=";
# scripts/prepack.sh wants to extract the git commit from .git
@@ -50,4 +50,4 @@ buildNpmPackage rec {
mainProgram = "speedscope";
maintainers = with lib.maintainers; [ thomasjm ];
};
}
})