Unverified Commit 5d584485 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

google-lighthouse: 12.8.2 -> 13.0.2; add update-script (#489473)

parents 0c2d6991 dcf20cea
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -9,21 +9,22 @@
  yarnInstallHook,
  nodejs,
  makeWrapper,
  nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "google-lighthouse";
  version = "12.8.2";
  version = "13.0.2";

  src = fetchFromGitHub {
    owner = "GoogleChrome";
    repo = "lighthouse";
    tag = "v${finalAttrs.version}";
    hash = "sha256-pluMFOyW352tEWjz28jhI4AZcKDB5jhoWIzTWyLxwGY=";
    hash = "sha256-jbyp8RJChX6CjXucQLcvRwkUJWptUer3xNNbwaB8vi4=";
  };

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = "${finalAttrs.src}/yarn.lock";
    hash = "sha256-yQT2JUsu/3ttJU8zUdtlhzUscepISNUr3wlxKHLaz3I=";
    hash = "sha256-Tm9MgjeIxGRY89EiflttJSEaotMHAo4V7oaw6+6Dzco=";
  };

  yarnBuildScript = "build-report";
@@ -50,6 +51,9 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  doDist = false;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Automated auditing, performance metrics, and best practices for the web";
    homepage = "https://developer.chrome.com/docs/lighthouse/overview";