nixos-config/pkgs/firefox-addons/default.nix

153 lines
6.6 KiB
Nix
Raw Normal View History

{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }:
{
"get-rss-feed-url" = buildFirefoxXpiAddon {
pname = "get-rss-feed-url";
version = "2.2";
addonId = "{15bdb1ce-fa9d-4a00-b859-66c214263ac0}";
url = "https://addons.mozilla.org/firefox/downloads/file/3990496/get_rss_feed_url-2.2.xpi";
sha256 = "c332726405c6e976b19fc41bfb3ce70fa4380aaf33f179f324b67cb6fc13b7d0";
meta = with lib;
{
homepage = "https://github.com/shevabam/get-rss-feed-url-extension";
description = "Retrieve RSS feeds URLs from a WebSite. Now in Firefox!";
license = licenses.mit;
mozPermissions = [
"http://*/*"
"https://*/*"
"notifications"
"<all_urls>"
];
platforms = platforms.all;
};
};
"google-container" = buildFirefoxXpiAddon {
pname = "google-container";
version = "1.5.4";
addonId = "@contain-google";
url = "https://addons.mozilla.org/firefox/downloads/file/3736912/google_container-1.5.4.xpi";
sha256 = "47a7c0e85468332a0d949928d8b74376192cde4abaa14280002b3aca4ec814d0";
meta = with lib;
{
homepage = "https://github.com/containers-everywhere/contain-google";
description = "THIS IS NOT AN OFFICIAL ADDON FROM MOZILLA!\nIt is a fork of the Facebook Container addon.\n\nPrevent Google from tracking you around the web. The Google Container extension helps you take control and isolate your web activity from Google.";
license = licenses.mpl20;
mozPermissions = [
"<all_urls>"
"contextualIdentities"
"cookies"
"management"
"tabs"
"webRequestBlocking"
"webRequest"
"storage"
];
platforms = platforms.all;
};
};
"regretsreporter" = buildFirefoxXpiAddon {
pname = "regretsreporter";
version = "2.1.2";
addonId = "regrets-reporter@mozillafoundation.org";
url = "https://addons.mozilla.org/firefox/downloads/file/4049907/regretsreporter-2.1.2.xpi";
sha256 = "6916bcba2c479b209510509aca304f35cf68bafbdde852511a98e501c99e77e0";
meta = with lib;
{
homepage = "https://foundation.mozilla.org/regrets-reporter";
description = "The RegretsReporter browser extension, built by the nonprofit Mozilla, helps you take control of your YouTube recommendations.";
license = licenses.mpl20;
mozPermissions = [
"*://*.youtube.com/*"
"https://incoming.telemetry.mozilla.org/*"
"storage"
"alarms"
"webRequest"
];
platforms = platforms.all;
};
};
"simple-translate" = buildFirefoxXpiAddon {
pname = "simple-translate";
version = "2.8.2";
addonId = "simple-translate@sienori";
url = "https://addons.mozilla.org/firefox/downloads/file/4165189/simple_translate-2.8.2.xpi";
sha256 = "8e8c3af0ffadfd3ff9928355e7be2292befe6c4f0e483f7c37c2d9a34a54f345";
meta = with lib;
{
homepage = "https://simple-translate.sienori.com";
description = "Quickly translate selected or typed text on web pages. Supports Google Translate and DeepL API.";
license = licenses.mpl20;
mozPermissions = [
"<all_urls>"
"storage"
"contextMenus"
"http://*/*"
"https://*/*"
];
platforms = platforms.all;
};
};
"sourcegraph-for-firefox" = buildFirefoxXpiAddon {
pname = "sourcegraph-for-firefox";
version = "23.4.14.1343";
addonId = "sourcegraph-for-firefox@sourcegraph.com";
url = "https://addons.mozilla.org/firefox/downloads/file/4097469/sourcegraph_for_firefox-23.4.14.1343.xpi";
sha256 = "fa02236d75a82a7c47dabd0272b77dd9a74e8069563415a7b8b2b9d37c36d20b";
meta = with lib;
{
description = "Adds code intelligence to GitHub, GitLab, Bitbucket Server, and Phabricator: hovers, definitions, references. Supports 20+ languages.";
mozPermissions = [
"activeTab"
"storage"
"contextMenus"
"https://github.com/*"
"https://sourcegraph.com/*"
"<all_urls>"
];
platforms = platforms.all;
};
};
"tineye-reverse-image-search" = buildFirefoxXpiAddon {
pname = "tineye-reverse-image-search";
version = "2.0.4";
addonId = "tineye@ideeinc.com";
url = "https://addons.mozilla.org/firefox/downloads/file/4074627/tineye_reverse_image_search-2.0.4.xpi";
sha256 = "cece89c89f4480c6b69336b43c0dd2970058f2658e6cfd0160d05ba3c0cfc1b0";
meta = with lib;
{
homepage = "https://tineye.com/";
description = "Click on any image on the web to search for it on TinEye. Recommended by Firefox! \nDiscover where an image came from, see how it is being used, check if modified versions exist or locate high resolution versions. Made with love by the TinEye team.";
license = licenses.mit;
mozPermissions = [ "contextMenus" "storage" ];
platforms = platforms.all;
};
};
"updateswh" = buildFirefoxXpiAddon {
pname = "updateswh";
version = "0.6.8";
addonId = "{157eb9f0-9814-4fcc-b0b7-586b3093c641}";
url = "https://addons.mozilla.org/firefox/downloads/file/4217887/updateswh-0.6.8.xpi";
sha256 = "ad91373253a4b24b48ca8c409195bb4e3674f574e142a6fe917524823c9c9644";
meta = with lib;
{
description = "Check archival state of a source code repository and propose to update it if needed.";
license = licenses.mit;
mozPermissions = [ "<all_urls>" "storage" "tabs" "activeTab" ];
platforms = platforms.all;
};
};
"zhongwen" = buildFirefoxXpiAddon {
pname = "zhongwen";
version = "5.15";
addonId = "{dedb3663-6f13-4c6c-bf0f-5bd111cb2c79}";
url = "https://addons.mozilla.org/firefox/downloads/file/4215189/zhongwen-5.15.xpi";
sha256 = "db14741def1bdfe2d4deba2e16bf55876fdc1b35a3060dabb425d08285f5d468";
meta = with lib;
{
homepage = "https://github.com/cschiller/zhongwen";
description = "Official Firefox port of the Zhongwen Chrome extension (<a href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/4d8401bdeba5d777261b82f644f164d046c1c71c9382465493a10144cbd23de0/http%3A//github.com/cschiller/zhongwen\" rel=\"nofollow\">http://github.com/cschiller/zhongwen</a>). Translate Chinese characters by hovering over them with the mouse. Includes internal word list, links to Chinese Grammar Wiki, tone colors, and more.";
license = licenses.gpl2;
mozPermissions = [ "contextMenus" "tabs" "<all_urls>" ];
platforms = platforms.all;
};
};
}