diff options
| author | aristote <quentin.aristote@irif.fr> | 2024-01-17 17:07:41 +0100 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2024-01-17 17:26:36 +0100 |
| commit | b281eb28a9d9c930234eadc25193a6f3f66cb83a (patch) | |
| tree | 5cc5cddd8b51a950bd0158677e9ac58dc2fb2f6a /pkgs | |
| parent | 059e1885dd1e5a2765d5379b5d036e89ec77409e (diff) | |
pkgs: firefox addons: update and add floccus
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/firefoxAddons/addons.json | 3 | ||||
| -rw-r--r-- | pkgs/firefoxAddons/default.nix | 695 |
2 files changed, 515 insertions, 183 deletions
diff --git a/pkgs/firefoxAddons/addons.json b/pkgs/firefoxAddons/addons.json index d39900d..d5ed691 100644 --- a/pkgs/firefoxAddons/addons.json +++ b/pkgs/firefoxAddons/addons.json @@ -12,5 +12,6 @@ { "slug": "multi-account-containers" }, { "slug": "tree-style-tab" }, { "slug": "unpaywall" }, - { "slug": "url-in-title" } + { "slug": "url-in-title" }, + { "slug": "floccus" } ] diff --git a/pkgs/firefoxAddons/default.nix b/pkgs/firefoxAddons/default.nix index 10faed5..f677cec 100644 --- a/pkgs/firefoxAddons/default.nix +++ b/pkgs/firefoxAddons/default.nix @@ -1,182 +1,513 @@ -{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }: - { - "add-custom-search-engine" = buildFirefoxXpiAddon { - pname = "add-custom-search-engine"; - version = "4.2"; - addonId = "{af37054b-3ace-46a2-ac59-709e4412bec6}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3812756/add_custom_search_engine-4.2.xpi"; - sha256 = "86aaf173514ec2da55556eb339a9d7c115c6e070c5433ebff8db31baa8e165d5"; - meta = with lib; - { - description = "Add a custom search engine to the list of available search engines in the search bar and URL bar."; - license = licenses.mpl20; - platforms = platforms.all; - }; - }; - "canvasblocker" = buildFirefoxXpiAddon { - pname = "canvasblocker"; - version = "1.8"; - addonId = "CanvasBlocker@kkapsner.de"; - url = "https://addons.mozilla.org/firefox/downloads/file/3910598/canvasblocker-1.8.xpi"; - sha256 = "817a6181be877668eca1d0fef9ecf789c898e6d7d93dca7e29479d40f986c844"; - meta = with lib; - { - homepage = "https://github.com/kkapsner/CanvasBlocker/"; - description = "Alters some JS APIs to prevent fingerprinting."; - license = licenses.mpl20; - platforms = platforms.all; - }; - }; - "clearurls" = buildFirefoxXpiAddon { - pname = "clearurls"; - version = "1.26.1"; - addonId = "{74145f27-f039-47ce-a470-a662b129930a}"; - url = "https://addons.mozilla.org/firefox/downloads/file/4064884/clearurls-1.26.1.xpi"; - sha256 = "e20168d63cb1b8ba3ad0de4cdb42c540d99fe00aa9679b59f49bccc36f106291"; - meta = with lib; - { - homepage = "https://clearurls.xyz/"; - description = "Removes tracking elements from URLs"; - license = licenses.lgpl3; - platforms = platforms.all; - }; - }; - "darkreader" = buildFirefoxXpiAddon { - pname = "darkreader"; - version = "4.9.62"; - addonId = "addon@darkreader.org"; - url = "https://addons.mozilla.org/firefox/downloads/file/4053589/darkreader-4.9.62.xpi"; - sha256 = "e537a2cee45ed7c26f79ecd3ed362620e3f00d24c158532a58e163a63a3d60cc"; - meta = with lib; - { - homepage = "https://darkreader.org/"; - description = "Dark mode for every website. Take care of your eyes, use dark theme for night and daily browsing."; - license = licenses.mit; - platforms = platforms.all; - }; - }; - "multi-account-containers" = buildFirefoxXpiAddon { - pname = "multi-account-containers"; - version = "8.1.2"; - addonId = "@testpilot-containers"; - url = "https://addons.mozilla.org/firefox/downloads/file/4058426/multi_account_containers-8.1.2.xpi"; - sha256 = "0ab8f0222853fb68bc05fcf96401110910dfeb507aaea2cf88c5cd7084d167fc"; - meta = with lib; - { - homepage = "https://github.com/mozilla/multi-account-containers/#readme"; - description = "Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs. Cookies are separated by container, allowing you to use the web with multiple accounts and integrate Mozilla VPN for an extra layer of privacy."; - license = licenses.mpl20; - platforms = platforms.all; - }; - }; - "neat-url" = buildFirefoxXpiAddon { - pname = "neat-url"; - version = "5.0.0"; - addonId = "neaturl@hugsmile.eu"; - url = "https://addons.mozilla.org/firefox/downloads/file/3557562/neat_url-5.0.0.xpi"; - sha256 = "0b41899ea0eb424517bbe7ce067eae22de0ff659a0f171671e604edef86cfa2c"; - meta = with lib; - { - homepage = "http://hugsmile.eu"; - description = "Remove garbage from URLs."; - license = licenses.gpl2; - platforms = platforms.all; - }; - }; - "redirector" = buildFirefoxXpiAddon { - pname = "redirector"; - version = "3.5.3"; - addonId = "redirector@einaregilsson.com"; - url = "https://addons.mozilla.org/firefox/downloads/file/3535009/redirector-3.5.3.xpi"; - sha256 = "eddbd3d5944e748d0bd6ecb6d9e9cf0e0c02dced6f42db21aab64190e71c0f71"; - meta = with lib; - { - homepage = "http://einaregilsson.com/redirector/"; - description = "Automatically redirects to user-defined urls on certain pages"; - license = licenses.mit; - platforms = platforms.all; - }; - }; - "smart-referer" = buildFirefoxXpiAddon { - pname = "smart-referer"; - version = "0.2.15"; - addonId = "smart-referer@meh.paranoid.pk"; - url = "https://addons.mozilla.org/firefox/downloads/file/3470999/smart_referer-0.2.15.xpi"; - sha256 = "4751ab905c4d9d13b1f21c9fc179efed7d248e3476effb5b393268b46855bf1a"; - meta = with lib; - { - homepage = "https://gitlab.com/smart-referer/smart-referer"; - description = "Improve your privacy by limiting Referer information leak!"; - platforms = platforms.all; - }; - }; - "temporary-containers" = buildFirefoxXpiAddon { - pname = "temporary-containers"; - version = "1.9.2"; - addonId = "{c607c8df-14a7-4f28-894f-29e8722976af}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3723251/temporary_containers-1.9.2.xpi"; - sha256 = "3340a08c29be7c83bd0fea3fc27fde71e4608a4532d932114b439aa690e7edc0"; - meta = with lib; - { - homepage = "https://github.com/stoically/temporary-containers"; - description = "Open tabs, websites, and links in automatically managed disposable containers which isolate the data websites store (cookies, storage, and more) from each other, enhancing your privacy and security while you browse."; - license = licenses.mit; - platforms = platforms.all; - }; - }; - "tree-style-tab" = buildFirefoxXpiAddon { - pname = "tree-style-tab"; - version = "3.9.14"; - addonId = "treestyletab@piro.sakura.ne.jp"; - url = "https://addons.mozilla.org/firefox/downloads/file/4082602/tree_style_tab-3.9.14.xpi"; - sha256 = "57827706633941567f27e452bf51ded614c9ac7ee839ab45b3e42cebd9f61d82"; - meta = with lib; - { - homepage = "http://piro.sakura.ne.jp/xul/_treestyletab.html.en"; - description = "Show tabs like a tree."; - platforms = platforms.all; - }; - }; - "ublock-origin" = buildFirefoxXpiAddon { - pname = "ublock-origin"; - version = "1.47.4"; - addonId = "uBlock0@raymondhill.net"; - url = "https://addons.mozilla.org/firefox/downloads/file/4079064/ublock_origin-1.47.4.xpi"; - sha256 = "a35a6c8758ba74616afc09648c96d74ec2e7d27fe30f311d1db6e9a4966e7858"; - meta = with lib; - { - homepage = "https://github.com/gorhill/uBlock#ublock-origin"; - description = "Finally, an efficient wide-spectrum content blocker. Easy on CPU and memory."; - license = licenses.gpl3; - platforms = platforms.all; - }; - }; - "unpaywall" = buildFirefoxXpiAddon { - pname = "unpaywall"; - version = "3.98"; - addonId = "{f209234a-76f0-4735-9920-eb62507a54cd}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3816853/unpaywall-3.98.xpi"; - sha256 = "6893bea86d3c4ed7f1100bf0e173591b526a062f4ddd7be13c30a54573c797fb"; - meta = with lib; - { - homepage = "https://unpaywall.org/products/extension"; - description = "Get free text of research papers as you browse, using Unpaywall's index of ten million legal, open-access articles."; - license = licenses.mit; - platforms = platforms.all; - }; - }; - "url-in-title" = buildFirefoxXpiAddon { - pname = "url-in-title"; - version = "0.5"; - addonId = "{fcdb71fb-c9e5-48a3-9d04-e32713f5da88}"; - url = "https://addons.mozilla.org/firefox/downloads/file/792317/url_in_title-0.5.xpi"; - sha256 = "5db99d775cef3c3da069b7e8e1b1e7d68c3720236c99827d85c4e78d3c35dbd7"; - meta = with lib; - { - homepage = "https://github.com/cloutierjo/titleUrl"; - description = "Add the current host name to the windows title bar. It adds the possibility to recognize the window from other application that work based on windows titles like KeePass's autotype."; - license = licenses.gpl3; - platforms = platforms.all; - }; - }; - }
\ No newline at end of file +{ + buildFirefoxXpiAddon, + lib, +}: { + "add-custom-search-engine" = buildFirefoxXpiAddon { + pname = "add-custom-search-engine"; + version = "4.2"; + addonId = "{af37054b-3ace-46a2-ac59-709e4412bec6}"; + url = "https://addons.mozilla.org/firefox/downloads/file/3812756/add_custom_search_engine-4.2.xpi"; + sha256 = "86aaf173514ec2da55556eb339a9d7c115c6e070c5433ebff8db31baa8e165d5"; + meta = with lib; { + description = "Add a custom search engine to the list of available search engines in the search bar and URL bar."; + license = licenses.mpl20; + mozPermissions = ["https://paste.mozilla.org/api/" "search"]; + platforms = platforms.all; + }; + }; + "canvasblocker" = buildFirefoxXpiAddon { + pname = "canvasblocker"; + version = "1.9"; + addonId = "CanvasBlocker@kkapsner.de"; + url = "https://addons.mozilla.org/firefox/downloads/file/4097901/canvasblocker-1.9.xpi"; + sha256 = "5248c2c2dedd14b8aa2cd73f9484285d9453e93339f64fcf04a3d63c859cf3d7"; + meta = with lib; { + homepage = "https://github.com/kkapsner/CanvasBlocker/"; + description = "Alters some JS APIs to prevent fingerprinting."; + license = licenses.mpl20; + mozPermissions = [ + "<all_urls>" + "storage" + "tabs" + "webRequest" + "webRequestBlocking" + "contextualIdentities" + "cookies" + "privacy" + ]; + platforms = platforms.all; + }; + }; + "clearurls" = buildFirefoxXpiAddon { + pname = "clearurls"; + version = "1.26.1"; + addonId = "{74145f27-f039-47ce-a470-a662b129930a}"; + url = "https://addons.mozilla.org/firefox/downloads/file/4064884/clearurls-1.26.1.xpi"; + sha256 = "e20168d63cb1b8ba3ad0de4cdb42c540d99fe00aa9679b59f49bccc36f106291"; + meta = with lib; { + homepage = "https://clearurls.xyz/"; + description = "Removes tracking elements from URLs"; + license = licenses.lgpl3; + mozPermissions = [ + "<all_urls>" + "webRequest" + "webRequestBlocking" + "storage" + "unlimitedStorage" + "contextMenus" + "webNavigation" + "tabs" + "downloads" + "*://*.google.com/*" + "*://*.google.ad/*" + "*://*.google.ae/*" + "*://*.google.com.af/*" + "*://*.google.com.ag/*" + "*://*.google.com.ai/*" + "*://*.google.al/*" + "*://*.google.am/*" + "*://*.google.co.ao/*" + "*://*.google.com.ar/*" + "*://*.google.as/*" + "*://*.google.at/*" + "*://*.google.com.au/*" + "*://*.google.az/*" + "*://*.google.ba/*" + "*://*.google.com.bd/*" + "*://*.google.be/*" + "*://*.google.bf/*" + "*://*.google.bg/*" + "*://*.google.com.bh/*" + "*://*.google.bi/*" + "*://*.google.bj/*" + "*://*.google.com.bn/*" + "*://*.google.com.bo/*" + "*://*.google.com.br/*" + "*://*.google.bs/*" + "*://*.google.bt/*" + "*://*.google.co.bw/*" + "*://*.google.by/*" + "*://*.google.com.bz/*" + "*://*.google.ca/*" + "*://*.google.cd/*" + "*://*.google.cf/*" + "*://*.google.cg/*" + "*://*.google.ch/*" + "*://*.google.ci/*" + "*://*.google.co.ck/*" + "*://*.google.cl/*" + "*://*.google.cm/*" + "*://*.google.cn/*" + "*://*.google.com.co/*" + "*://*.google.co.cr/*" + "*://*.google.com.cu/*" + "*://*.google.cv/*" + "*://*.google.com.cy/*" + "*://*.google.cz/*" + "*://*.google.de/*" + "*://*.google.dj/*" + "*://*.google.dk/*" + "*://*.google.dm/*" + "*://*.google.com.do/*" + "*://*.google.dz/*" + "*://*.google.com.ec/*" + "*://*.google.ee/*" + "*://*.google.com.eg/*" + "*://*.google.es/*" + "*://*.google.com.et/*" + "*://*.google.fi/*" + "*://*.google.com.fj/*" + "*://*.google.fm/*" + "*://*.google.fr/*" + "*://*.google.ga/*" + "*://*.google.ge/*" + "*://*.google.gg/*" + "*://*.google.com.gh/*" + "*://*.google.com.gi/*" + "*://*.google.gl/*" + "*://*.google.gm/*" + "*://*.google.gp/*" + "*://*.google.gr/*" + "*://*.google.com.gt/*" + "*://*.google.gy/*" + "*://*.google.com.hk/*" + "*://*.google.hn/*" + "*://*.google.hr/*" + "*://*.google.ht/*" + "*://*.google.hu/*" + "*://*.google.co.id/*" + "*://*.google.ie/*" + "*://*.google.co.il/*" + "*://*.google.im/*" + "*://*.google.co.in/*" + "*://*.google.iq/*" + "*://*.google.is/*" + "*://*.google.it/*" + "*://*.google.je/*" + "*://*.google.com.jm/*" + "*://*.google.jo/*" + "*://*.google.co.jp/*" + "*://*.google.co.ke/*" + "*://*.google.com.kh/*" + "*://*.google.ki/*" + "*://*.google.kg/*" + "*://*.google.co.kr/*" + "*://*.google.com.kw/*" + "*://*.google.kz/*" + "*://*.google.la/*" + "*://*.google.com.lb/*" + "*://*.google.li/*" + "*://*.google.lk/*" + "*://*.google.co.ls/*" + "*://*.google.lt/*" + "*://*.google.lu/*" + "*://*.google.lv/*" + "*://*.google.com.ly/*" + "*://*.google.co.ma/*" + "*://*.google.md/*" + "*://*.google.me/*" + "*://*.google.mg/*" + "*://*.google.mk/*" + "*://*.google.ml/*" + "*://*.google.com.mm/*" + "*://*.google.mn/*" + "*://*.google.ms/*" + "*://*.google.com.mt/*" + "*://*.google.mu/*" + "*://*.google.mv/*" + "*://*.google.mw/*" + "*://*.google.com.mx/*" + "*://*.google.com.my/*" + "*://*.google.co.mz/*" + "*://*.google.com.na/*" + "*://*.google.com.nf/*" + "*://*.google.com.ng/*" + "*://*.google.com.ni/*" + "*://*.google.ne/*" + "*://*.google.nl/*" + "*://*.google.no/*" + "*://*.google.com.np/*" + "*://*.google.nr/*" + "*://*.google.nu/*" + "*://*.google.co.nz/*" + "*://*.google.com.om/*" + "*://*.google.com.pa/*" + "*://*.google.com.pe/*" + "*://*.google.com.pg/*" + "*://*.google.com.ph/*" + "*://*.google.com.pk/*" + "*://*.google.pl/*" + "*://*.google.pn/*" + "*://*.google.com.pr/*" + "*://*.google.ps/*" + "*://*.google.pt/*" + "*://*.google.com.py/*" + "*://*.google.com.qa/*" + "*://*.google.ro/*" + "*://*.google.ru/*" + "*://*.google.rw/*" + "*://*.google.com.sa/*" + "*://*.google.com.sb/*" + "*://*.google.sc/*" + "*://*.google.se/*" + "*://*.google.com.sg/*" + "*://*.google.sh/*" + "*://*.google.si/*" + "*://*.google.sk/*" + "*://*.google.com.sl/*" + "*://*.google.sn/*" + "*://*.google.so/*" + "*://*.google.sm/*" + "*://*.google.sr/*" + "*://*.google.st/*" + "*://*.google.com.sv/*" + "*://*.google.td/*" + "*://*.google.tg/*" + "*://*.google.co.th/*" + "*://*.google.com.tj/*" + "*://*.google.tk/*" + "*://*.google.tl/*" + "*://*.google.tm/*" + "*://*.google.tn/*" + "*://*.google.to/*" + "*://*.google.com.tr/*" + "*://*.google.tt/*" + "*://*.google.com.tw/*" + "*://*.google.co.tz/*" + "*://*.google.com.ua/*" + "*://*.google.co.ug/*" + "*://*.google.co.uk/*" + "*://*.google.com.uy/*" + "*://*.google.co.uz/*" + "*://*.google.com.vc/*" + "*://*.google.co.ve/*" + "*://*.google.vg/*" + "*://*.google.co.vi/*" + "*://*.google.com.vn/*" + "*://*.google.vu/*" + "*://*.google.ws/*" + "*://*.google.rs/*" + "*://*.google.co.za/*" + "*://*.google.co.zm/*" + "*://*.google.co.zw/*" + "*://*.google.cat/*" + "*://*.yandex.ru/*" + "*://*.yandex.com/*" + "*://*.ya.ru/*" + ]; + platforms = platforms.all; + }; + }; + "darkreader" = buildFirefoxXpiAddon { + pname = "darkreader"; + version = "4.9.75"; + addonId = "addon@darkreader.org"; + url = "https://addons.mozilla.org/firefox/downloads/file/4220708/darkreader-4.9.75.xpi"; + sha256 = "71b31ebced765d5694da3f70260d6f2b3272b8613fe88fb0bb0faf5cd76d6ebe"; + meta = with lib; { + homepage = "https://darkreader.org/"; + description = "Dark mode for every website. Take care of your eyes, use dark theme for night and daily browsing."; + license = licenses.mit; + mozPermissions = [ + "alarms" + "contextMenus" + "storage" + "tabs" + "theme" + "<all_urls>" + ]; + platforms = platforms.all; + }; + }; + "floccus" = buildFirefoxXpiAddon { + pname = "floccus"; + version = "5.0.8"; + addonId = "floccus@handmadeideas.org"; + url = "https://addons.mozilla.org/firefox/downloads/file/4218289/floccus-5.0.8.xpi"; + sha256 = "72c05ea95f1ec5ac3327d2060c9369e026117c17e90c7436cf124b833040e75e"; + meta = with lib; { + homepage = "https://floccus.org"; + description = "Sync your bookmarks across browsers via Nextcloud, WebDAV or Google Drive"; + license = licenses.mpl20; + mozPermissions = [ + "*://*/*" + "alarms" + "bookmarks" + "storage" + "unlimitedStorage" + "tabs" + "identity" + ]; + platforms = platforms.all; + }; + }; + "multi-account-containers" = buildFirefoxXpiAddon { + pname = "multi-account-containers"; + version = "8.1.3"; + addonId = "@testpilot-containers"; + url = "https://addons.mozilla.org/firefox/downloads/file/4186050/multi_account_containers-8.1.3.xpi"; + sha256 = "33edd98d0fc7d47fa310f214f897ce4dfe268b0f868c9d7f32b4ca50573df85c"; + meta = with lib; { + homepage = "https://github.com/mozilla/multi-account-containers/#readme"; + description = "Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs. Cookies are separated by container, allowing you to use the web with multiple accounts and integrate Mozilla VPN for an extra layer of privacy."; + license = licenses.mpl20; + mozPermissions = [ + "<all_urls>" + "activeTab" + "cookies" + "contextMenus" + "contextualIdentities" + "history" + "idle" + "management" + "storage" + "unlimitedStorage" + "tabs" + "webRequestBlocking" + "webRequest" + ]; + platforms = platforms.all; + }; + }; + "neat-url" = buildFirefoxXpiAddon { + pname = "neat-url"; + version = "5.0.0"; + addonId = "neaturl@hugsmile.eu"; + url = "https://addons.mozilla.org/firefox/downloads/file/3557562/neat_url-5.0.0.xpi"; + sha256 = "0b41899ea0eb424517bbe7ce067eae22de0ff659a0f171671e604edef86cfa2c"; + meta = with lib; { + homepage = "https://github.com/Smile4ever/Neat-URL"; + description = "Remove garbage from URLs."; + license = licenses.gpl2; + mozPermissions = [ + "storage" + "notifications" + "contextMenus" + "webRequest" + "webRequestBlocking" + "tabs" + "<all_urls>" + ]; + platforms = platforms.all; + }; + }; + "redirector" = buildFirefoxXpiAddon { + pname = "redirector"; + version = "3.5.3"; + addonId = "redirector@einaregilsson.com"; + url = "https://addons.mozilla.org/firefox/downloads/file/3535009/redirector-3.5.3.xpi"; + sha256 = "eddbd3d5944e748d0bd6ecb6d9e9cf0e0c02dced6f42db21aab64190e71c0f71"; + meta = with lib; { + homepage = "http://einaregilsson.com/redirector/"; + description = "Automatically redirects to user-defined urls on certain pages"; + license = licenses.mit; + mozPermissions = [ + "webRequest" + "webRequestBlocking" + "webNavigation" + "storage" + "tabs" + "http://*/*" + "https://*/*" + "notifications" + ]; + platforms = platforms.all; + }; + }; + "smart-referer" = buildFirefoxXpiAddon { + pname = "smart-referer"; + version = "0.2.15"; + addonId = "smart-referer@meh.paranoid.pk"; + url = "https://addons.mozilla.org/firefox/downloads/file/3470999/smart_referer-0.2.15.xpi"; + sha256 = "4751ab905c4d9d13b1f21c9fc179efed7d248e3476effb5b393268b46855bf1a"; + meta = with lib; { + homepage = "https://gitlab.com/smart-referer/smart-referer"; + description = "Improve your privacy by limiting Referer information leak!"; + mozPermissions = [ + "menus" + "storage" + "theme" + "webRequest" + "webRequestBlocking" + "*://*/*" + ]; + platforms = platforms.all; + }; + }; + "temporary-containers" = buildFirefoxXpiAddon { + pname = "temporary-containers"; + version = "1.9.2"; + addonId = "{c607c8df-14a7-4f28-894f-29e8722976af}"; + url = "https://addons.mozilla.org/firefox/downloads/file/3723251/temporary_containers-1.9.2.xpi"; + sha256 = "3340a08c29be7c83bd0fea3fc27fde71e4608a4532d932114b439aa690e7edc0"; + meta = with lib; { + homepage = "https://github.com/stoically/temporary-containers"; + description = "Open tabs, websites, and links in automatically managed disposable containers which isolate the data websites store (cookies, storage, and more) from each other, enhancing your privacy and security while you browse."; + license = licenses.mit; + mozPermissions = [ + "<all_urls>" + "contextMenus" + "contextualIdentities" + "cookies" + "management" + "storage" + "tabs" + "webRequest" + "webRequestBlocking" + ]; + platforms = platforms.all; + }; + }; + "tree-style-tab" = buildFirefoxXpiAddon { + pname = "tree-style-tab"; + version = "3.9.19"; + addonId = "treestyletab@piro.sakura.ne.jp"; + url = "https://addons.mozilla.org/firefox/downloads/file/4197314/tree_style_tab-3.9.19.xpi"; + sha256 = "bb67f47a554f8f937f4176bee6144945eb0f240630b93f73d2cff49f0985b55a"; + meta = with lib; { + homepage = "http://piro.sakura.ne.jp/xul/_treestyletab.html.en"; + description = "Show tabs like a tree."; + mozPermissions = [ + "activeTab" + "contextualIdentities" + "cookies" + "menus" + "menus.overrideContext" + "notifications" + "search" + "sessions" + "storage" + "tabs" + "theme" + ]; + platforms = platforms.all; + }; + }; + "ublock-origin" = buildFirefoxXpiAddon { + pname = "ublock-origin"; + version = "1.55.0"; + addonId = "uBlock0@raymondhill.net"; + url = "https://addons.mozilla.org/firefox/downloads/file/4216633/ublock_origin-1.55.0.xpi"; + sha256 = "a02ca1d32737c3437f97553e5caaead6479a66ac1f8ff3b84a06cfa6bb0c7647"; + meta = with lib; { + homepage = "https://github.com/gorhill/uBlock#ublock-origin"; + description = "Finally, an efficient wide-spectrum content blocker. Easy on CPU and memory."; + license = licenses.gpl3; + mozPermissions = [ + "alarms" + "dns" + "menus" + "privacy" + "storage" + "tabs" + "unlimitedStorage" + "webNavigation" + "webRequest" + "webRequestBlocking" + "<all_urls>" + "http://*/*" + "https://*/*" + "file://*/*" + "https://easylist.to/*" + "https://*.fanboy.co.nz/*" + "https://filterlists.com/*" + "https://forums.lanik.us/*" + "https://github.com/*" + "https://*.github.io/*" + "https://*.letsblock.it/*" + "https://github.com/uBlockOrigin/*" + "https://ublockorigin.github.io/*" + "https://*.reddit.com/r/uBlockOrigin/*" + ]; + platforms = platforms.all; + }; + }; + "unpaywall" = buildFirefoxXpiAddon { + pname = "unpaywall"; + version = "3.98"; + addonId = "{f209234a-76f0-4735-9920-eb62507a54cd}"; + url = "https://addons.mozilla.org/firefox/downloads/file/3816853/unpaywall-3.98.xpi"; + sha256 = "6893bea86d3c4ed7f1100bf0e173591b526a062f4ddd7be13c30a54573c797fb"; + meta = with lib; { + homepage = "https://unpaywall.org/products/extension"; + description = "Get free text of research papers as you browse, using Unpaywall's index of ten million legal, open-access articles."; + license = licenses.mit; + mozPermissions = ["*://*.oadoi.org/*" "storage" "<all_urls>"]; + platforms = platforms.all; + }; + }; + "url-in-title" = buildFirefoxXpiAddon { + pname = "url-in-title"; + version = "0.5"; + addonId = "{fcdb71fb-c9e5-48a3-9d04-e32713f5da88}"; + url = "https://addons.mozilla.org/firefox/downloads/file/792317/url_in_title-0.5.xpi"; + sha256 = "5db99d775cef3c3da069b7e8e1b1e7d68c3720236c99827d85c4e78d3c35dbd7"; + meta = with lib; { + homepage = "https://github.com/cloutierjo/titleUrl"; + description = "Add the current host name to the windows title bar. It adds the possibility to recognize the window from other application that work based on windows titles like KeePass's autotype."; + license = licenses.gpl3; + mozPermissions = ["<all_urls>" "tabs" "storage"]; + platforms = platforms.all; + }; + }; +} |
