Skip to content

Commit

Permalink
⬆️ Updated the twitchnosub firefox addon
Browse files Browse the repository at this point in the history
theobori committed Jan 25, 2025
1 parent f39613a commit a403a38
Showing 3 changed files with 2 additions and 48 deletions.
19 changes: 0 additions & 19 deletions modules/home/browsers/firefox/default.nix
Original file line number Diff line number Diff line change
@@ -38,25 +38,6 @@ in
betterttv
seventv
dracula-dark-colorscheme

# (
# let
# version = "0.7.1";
# in
# buildFirefoxXpiAddon {
# pname = "twitchnosub";
# inherit version;
# addonId = "twitchnosub@besuper.com";
# url = "https://github.com/besuper/TwitchNoSub/releases/download/${version}/TwitchNoSub-firefox.${version}.xpi";
# sha256 = "sha256-Z/KaWdJy6L/sZXUJlT3nyNnBOf21TxMrQHKxa3j2KD8=";
# meta = {
# homepage = "https://github.com/besuper/TwitchNoSub";
# description = "An extension to watch sub only VOD on Twitch";
# license = lib.licenses.gpl3;
# platforms = lib.platforms.all;
# };
# }
# )
(
let
version = "1.3";
9 changes: 2 additions & 7 deletions packages/twitchnosub/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "twitchnosub";
version = "0.8.1";
version = "0.9";

src = fetchFromGitHub {
owner = "besuper";
repo = "TwitchNoSub";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-xlWNUiv06ocRwMsnAAI7V7kDlG25psKmZXeODq07MoM=";
hash = "sha256-NSV86GC+vo50YQupPCRn/xCyysaypuyI0hfNlI2Pj9U=";
};

nativeBuildInputs = with pkgs; [ web-ext ];
@@ -24,11 +24,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postBuild
'';

patches = [
# See https://github.com/besuper/TwitchNoSub/issues/156#issuecomment-2592337368
./worker.patch
];

installPhase = ''
runHook preInstall
22 changes: 0 additions & 22 deletions packages/twitchnosub/worker.patch

This file was deleted.

0 comments on commit a403a38

Please sign in to comment.