feat(firefox): add ttv-lol-pro addon
This commit is contained in:
parent
29cd2d4988
commit
95ec4f4bdc
4 changed files with 30 additions and 1 deletions
|
@ -8,6 +8,9 @@
|
|||
{
|
||||
"slug": "checkmarks-web-ext"
|
||||
},
|
||||
{
|
||||
"slug": "ttv-lol-pro"
|
||||
},
|
||||
{
|
||||
"slug": "opera-gx-witchcraft-purple"
|
||||
}
|
||||
|
|
|
@ -77,4 +77,29 @@
|
|||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
"ttv-lol-pro" = buildFirefoxXpiAddon {
|
||||
pname = "ttv-lol-pro";
|
||||
version = "2.2.1";
|
||||
addonId = "{76ef94a4-e3d0-4c6f-961a-d38a429a332b}";
|
||||
url = "https://addons.mozilla.org/firefox/downloads/file/4179399/ttv_lol_pro-2.2.1.xpi";
|
||||
sha256 = "83d012878021fb5fe25bee1101a7a760974ae9e2949b80fd99b73d3da48b1f99";
|
||||
meta = with lib;
|
||||
{
|
||||
homepage = "https://github.com/younesaassila/ttv-lol-pro";
|
||||
description = "TTV LOL PRO removes most livestream ads from Twitch.";
|
||||
license = licenses.gpl3;
|
||||
mozPermissions = [
|
||||
"proxy"
|
||||
"storage"
|
||||
"webRequest"
|
||||
"webRequestBlocking"
|
||||
"https://*.ttvnw.net/*"
|
||||
"https://*.twitch.tv/*"
|
||||
"https://perfprod.com/ttvlolpro/telemetry"
|
||||
"https://www.twitch.tv/*"
|
||||
"https://m.twitch.tv/*"
|
||||
];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -162,6 +162,7 @@ in
|
|||
sound-volume
|
||||
google-container
|
||||
checkmarks-web-ext
|
||||
ttv-lol-pro
|
||||
opera-gx-witchcraft-purple
|
||||
]);
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ parseNurl "https://github.com/lukas-reineke/indent-blankline.nvim"
|
|||
updateFirefoxAddons() {
|
||||
echo "Updating firefox addons using mozilla-addons-to-nix"
|
||||
|
||||
(cd /home/matt/.nix/nixos/home/firefox/addons || return;
|
||||
(cd /home/matt/.nix/modules/firefox/addons || return;
|
||||
|
||||
file=generated-firefox-addons.nix
|
||||
if [[ -f $file ]]; then
|
||||
|
|
Loading…
Reference in a new issue