Commit 6219ed65 authored by Harinn's avatar Harinn
Browse files

speedscope: migrate to finalAttrs

parent 6c88c36e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})