aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web/chromium/extensions/ublock-origin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/web/chromium/extensions/ublock-origin.nix')
-rw-r--r--modules/web/chromium/extensions/ublock-origin.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/modules/web/chromium/extensions/ublock-origin.nix b/modules/web/chromium/extensions/ublock-origin.nix
index e15d103..a46a74d 100644
--- a/modules/web/chromium/extensions/ublock-origin.nix
+++ b/modules/web/chromium/extensions/ublock-origin.nix
@@ -7,25 +7,13 @@ let
owner = "gorhill";
repo = "uBlock";
version = "1.73.0";
- checkedVersion = extLib.checkExtensionVersion {
- inherit
- pname
- owner
- repo
- version
- ;
- tagPrefix = "";
- urlTemplate = "https://github.com/${owner}/${repo}/releases/download/<version>/uBlock0_<version>.chromium.zip";
- };
in
{
- inherit pname;
- version = checkedVersion;
+ inherit pname version;
id = "eahmphincfcmmpgkpobpneimcjndlcna";
drv = extLib.fetchUnpackedExtension {
- inherit pname;
- version = checkedVersion;
- url = "https://github.com/${owner}/${repo}/releases/download/${checkedVersion}/uBlock0_${checkedVersion}.chromium.zip";
+ inherit pname version;
+ url = "https://github.com/${owner}/${repo}/releases/download/${version}/uBlock0_${version}.chromium.zip";
hash = "sha256-IsYrwPNe0MXpXR/IMagprxmcfKb9tPhBvgNMJXGc6RE=";
extensionKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtXfkoFzWOh3Fet9x4L6WY1pw755kt7bFwqd/nmTm5Ptg7d40Qde0tTIhceCFVkwrWTQ3n2/WSpYXoU/UMgSW9anBzoUM0ZXanIdoeHwvL3eMNyx+iyvSrRxee26GwzbZ8J0UvH77KT3rW/iV5ejV4wTxTD3rFr0udkI5bbTPYpmGFOKPD8I3IB6BsoUTKW3XTSLM0fUYggdbDNwQGZvLYwqZzk/vWH/oifHR6CEvdFR51JAdf3tJQhttI6My49Vq6etCi9y5ZLXrMksxcEcIlQKaF2fdlfL1bYXRAVFDsieuAmu3gJPBj65PVJif5A7DfcH8zm8YGPwrJlTjaJQeDQIDAQAB";
};