pkgs/firefox-addons: add cookies.txt and Tor control

This commit is contained in:
Gabriel Arazas 2025-01-31 14:43:01 +08:00
parent 4a2470d8d1
commit fd5f894934
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 47 additions and 0 deletions

View File

@ -1,5 +1,25 @@
{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }:
{
"cookies-txt" = buildFirefoxXpiAddon {
pname = "cookies-txt";
version = "0.7";
addonId = "{12cf650b-1822-40aa-bff0-996df6948878}";
url = "https://addons.mozilla.org/firefox/downloads/file/4368538/cookies_txt-0.7.xpi";
sha256 = "04ff7cf1fbebdba3c112fbd4d4ea83f90a08d8a267e63d44cca210659080930e";
meta = with lib;
{
description = "Exports all cookies to a Netscape HTTP Cookie File, as used by curl, wget, and youtube-dl, among others.";
license = licenses.gpl3;
mozPermissions = [
"cookies"
"downloads"
"contextualIdentities"
"<all_urls>"
"tabs"
];
platforms = platforms.all;
};
};
"extended-color-management" = buildFirefoxXpiAddon {
pname = "extended-color-management";
version = "1.1.1";
@ -199,6 +219,27 @@
platforms = platforms.all;
};
};
"tor-control" = buildFirefoxXpiAddon {
pname = "tor-control";
version = "0.1.5";
addonId = "{d22a1484-dcef-44e9-ab52-80f0f4a331a3}";
url = "https://addons.mozilla.org/firefox/downloads/file/3698582/tor_control-0.1.5.xpi";
sha256 = "3b529ee8993e1bdb374bb8f1fb926564eb10cd4403c09bc55077a0b72f6ff937";
meta = with lib;
{
homepage = "https://add0n.com/tor-control.html";
description = "Brings the anonymity of the Tor network and modifies few settings to protect user privacy";
license = licenses.mpl20;
mozPermissions = [
"storage"
"proxy"
"privacy"
"notifications"
"nativeMessaging"
];
platforms = platforms.all;
};
};
"updateswh" = buildFirefoxXpiAddon {
pname = "updateswh";
version = "0.6.8";

View File

@ -34,5 +34,11 @@
},
{
"slug": "rsshub-radar"
},
{
"slug": "tor-control"
},
{
"slug": "cookies-txt"
}
]