google-lighthouse: 12.8.2 -> 13.0.2; add update-script (#489473)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user