friendlyfox: drop

Upstream has made the repository private, breaking the build.

See: https://fedia.io/m/FirefoxCSS/p/955762/Friendly-Fox-https-codeberg-org-user0-FriendlyFox-Updates-Important-This-update-requires-a-fresh-install
This commit is contained in:
Donovan Glover 2024-11-06 12:28:46 -05:00
parent 7f8817530e
commit 94a78c2597
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 0 additions and 45 deletions

View File

@ -9,7 +9,6 @@ let
inherit (nixosConfig._module.specialArgs) nix-config; inherit (nixosConfig._module.specialArgs) nix-config;
inherit (lib) mkIf singleton; inherit (lib) mkIf singleton;
inherit (nix-config.packages.${pkgs.system}) friendlyfox;
search = { search = {
force = true; force = true;
@ -115,9 +114,4 @@ in
}; };
}; };
}; };
home.file = mkIf isPhone {
".librewolf/default/chrome/userChrome.css".source = "${friendlyfox}/userChrome.css";
".librewolf/default/chrome/userContent.css".source = "${friendlyfox}/userContent.css";
};
} }

View File

@ -1,39 +0,0 @@
{
lib,
stdenvNoCC,
fetchFromGitea,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "friendlyfox";
version = "3.1.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "user0";
repo = "Mobile-Friendly-Firefox";
rev = "v${finalAttrs.version}";
hash = "sha256-4y7rSAQT6N9VIQhRVyfLBCIb+bIUUOSawURywRCcb7c=";
};
installPhase = ''
runHook preInstall
install -Dm644 src/userContent/styles/fenix-colors/userContent.css -t $out
cat src/userChrome/fenix_one.css src/userChrome/dynamic_popups_pro.css > $out/userChrome.css
runHook postInstall
'';
postInstall = ''
echo ".urlbarView { display: none !important; }" >> $out/userChrome.css
'';
meta = {
description = "Custom CSS styles for Firefox browsers on Linux, with a focus on mobile devices like Librem 5 and PinePhone";
license = lib.licenses.mpl20;
homepage = "https://codeberg.org/user0/Mobile-Friendly-Firefox";
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.all;
};
})