From a48a14120302992aa9d176736e8d4ef3debd6c9e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 13 Oct 2024 02:42:47 -0400 Subject: [PATCH] ublock-origin: 1.59.0 -> 1.60.0 Also using the GitHub URL so updates work properly. --- packages/ublock-origin.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ublock-origin.nix b/packages/ublock-origin.nix index c5a45ad8..09077bdb 100644 --- a/packages/ublock-origin.nix +++ b/packages/ublock-origin.nix @@ -8,11 +8,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "ublock-origin"; - version = "1.59.0"; + version = "1.60.0"; src = fetchurl { - url = "https://addons.mozilla.org/firefox/downloads/file/4328681/ublock_origin-${finalAttrs.version}.xpi"; - hash = "sha256-HbnGdqB9FB+NNtu8JPnj1kpswjQNv8bISLxDlfls+xQ="; + url = "https://github.com/gorhill/uBlock/releases/download/${finalAttrs.version}/uBlock0_${finalAttrs.version}.firefox.signed.xpi"; + hash = "sha256-4s2psqGwp/bl7w2p+H8o31L4VgWHui5RowAxIc+4FgA="; }; dontUnpack = true; @@ -37,7 +37,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall - install -Dm644 ublock-origin.xpi "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/uBlock0@raymondhill.net.xpi" + install -Dm644 "$src" "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/uBlock0@raymondhill.net.xpi" runHook postInstall '';