feat(firefox): add 7tv addon

This commit is contained in:
matt1432 2023-10-21 15:40:22 -04:00
parent 927f638bf6
commit d8cdcda982
4 changed files with 12 additions and 10 deletions

View file

@ -29,19 +29,18 @@ let
in packages // { in packages // {
inherit buildFirefoxXpiAddon; inherit buildFirefoxXpiAddon;
bypass-paywalls-clean = let seventv = let
version = "3.3.6.0"; version = "v3.0.10.1000";
in buildFirefoxXpiAddon { in buildFirefoxXpiAddon {
pname = "bypass-paywalls-clean"; pname = "seventv";
inherit version; inherit version;
addonId = "magnolia@12.34"; addonId = "moz-addon@7tv.app";
url = url = "https://extension.7tv.gg/${version}/ext.xpi";
"https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-${version}.xpi"; sha256 = "sha256-dZyjFayvnLebSZHjMTTQFjcsxxpmc1aL5q17mLF3kG8=";
sha256 = "sha256-nuWwx7a51WI1HPkATXMLi6UZiQo+YgWWCZZk54JPDIU=";
meta = with lib; { meta = with lib; {
homepage = "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean"; homepage = "https://7tv.app/";
description = "Bypass Paywalls of (custom) news sites"; description = "The Web Extension for 7TV, bringing new features, emotes, vanity and performance to Twitch, Kick & YouTube";
license = licenses.mit; license = licenses.asl20;
platforms = platforms.all; platforms = platforms.all;
}; };
}; };

View file

@ -0,0 +1 @@
{"timestamp":1697914605981,"settings":[{"key":"chat.alternating_background","type":"boolean","value":true,"timestamp":1697329498914},{"key":"chat.deleted_messages","type":"number","value":2,"timestamp":1697329507626},{"key":"chat.mod_messages","type":"boolean","value":true,"timestamp":1697329482669},{"key":"chat.timestamp_with_seconds","type":"boolean","value":false,"timestamp":1697329513608},{"key":"general.autoclaim.channel_points","type":"boolean","value":true,"timestamp":1697329532664},{"key":"highlights.basic.mention_title_flash","type":"boolean","value":true,"timestamp":1697329354766},{"key":"highlights.basic.self","type":"boolean","value":true,"timestamp":1697329558832},{"key":"highlights.custom","type":"object","value":[],"timestamp":1697329354321,"constructorName":"Map"},{"key":"layout.hide_bits_buttons","type":"boolean","value":true,"timestamp":1697329436637},{"key":"layout.hide_channel_leaderboard","type":"boolean","value":true,"timestamp":1697329390214},{"key":"layout.hide_community_highlights","type":"boolean","value":false,"timestamp":1697329413217},{"key":"layout.hide_hype_chat_button","type":"boolean","value":true,"timestamp":1697329442683},{"key":"layout.hide_pinned_hype_chats","type":"boolean","value":true,"timestamp":1697329417875},{"key":"layout.hide_prime_offers","type":"boolean","value":true,"timestamp":1697329446012},{"key":"layout.hide_react_buttons","type":"boolean","value":true,"timestamp":1697329433561},{"key":"layout.hide_recommended_channels","type":"boolean","value":true,"timestamp":1697329428437},{"key":"layout.hide_viewers_also_watch","type":"boolean","value":true,"timestamp":1697329425642},{"key":"player.action_onclick","type":"number","value":2,"timestamp":1697329383233},{"key":"player.skip_content_restriction","type":"boolean","value":true,"timestamp":1697329372106},{"key":"player.video_stats","type":"boolean","value":true,"timestamp":1697329375300}]}

View file

@ -163,6 +163,7 @@ in
google-container google-container
checkmarks-web-ext checkmarks-web-ext
ttv-lol-pro ttv-lol-pro
seventv
opera-gx-witchcraft-purple opera-gx-witchcraft-purple
]); ]);
}; };

View file

@ -19,6 +19,7 @@ parseNurl "https://github.com/lukas-reineke/indent-blankline.nvim"
# https://github.com/ErikReider/SwayOSD # https://github.com/ErikReider/SwayOSD
# https://extension.7tv.gg/manifest.moz.json
updateFirefoxAddons() { updateFirefoxAddons() {
echo "Updating firefox addons using mozilla-addons-to-nix" echo "Updating firefox addons using mozilla-addons-to-nix"