Unverified Commit 82f3ee85 authored by emilylange's avatar emilylange
Browse files

sitespeed-io: add `passthru.updateScript`

This package lacks maintainance.
Likely due to the past build failures.

Let's try adding a confirmed working updateScript based on nix-update,
so potential automations are able to pick this up easier.
parent d78bdd62
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
, procps
, python3
, xorg
, nix-update-script

# chromedriver is more efficient than geckodriver, but is available on less platforms.

@@ -81,6 +82,10 @@ buildNpmPackage rec {
        ${lib.optionalString (withFirefox && !withChromium) "--add-flags '-b firefox'"}
    '';

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

  meta = with lib; {
    description = "An open source tool that helps you monitor, analyze and optimize your website speed and performance";
    homepage = "https://sitespeed.io";