From 0ee75eb1cab32d002997c4430ef5c4fce6211416 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 12 Sep 2024 18:14:04 -0400 Subject: [PATCH] packages: Drop invidious Unfortunately rarely works at the moment due to the recent publicity towards the project. --- home/librewolf.nix | 1 - packages/invidious.nix | 33 --------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 packages/invidious.nix diff --git a/home/librewolf.nix b/home/librewolf.nix index fab838a9..9ff2617e 100644 --- a/home/librewolf.nix +++ b/home/librewolf.nix @@ -100,7 +100,6 @@ in redlib new-tab-identity showdex - invidious ]; inherit settings search; diff --git a/packages/invidious.nix b/packages/invidious.nix deleted file mode 100644 index ba4eddb2..00000000 --- a/packages/invidious.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - lib, - stdenvNoCC, - fetchurl, -}: - -stdenvNoCC.mkDerivation (finalAttrs: { - pname = "invidious"; - version = "2.0.0"; - - src = fetchurl { - url = "https://addons.mozilla.org/firefox/downloads/file/3661232/invidious_site-${finalAttrs.version}.xpi"; - hash = "sha256-xSyVIz5uqdUoaW+IacG6+VpgBzPUBbpOoXx2x6OrPBQ="; - }; - - dontUnpack = true; - - installPhase = '' - runHook preInstall - - install -Dm644 "$src" "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{0d069122-737b-44f3-8309-80020b0d0c70}.xpi" - - runHook postInstall - ''; - - meta = { - homepage = "https://addons.mozilla.org/en-US/firefox/addon/invidious-site/"; - description = "Redirect YouTube links to Invidious"; - license = lib.licenses.mpl20; - maintainers = with lib.maintainers; [ donovanglover ]; - platforms = lib.platforms.all; - }; -})