friendlyfox: 2.11.1 -> 3.1.0

This commit is contained in:
Donovan Glover 2024-10-15 21:25:13 -04:00
parent 4c486c5046
commit 00e0798f93
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,29 +2,20 @@
lib,
stdenvNoCC,
fetchFromGitea,
fetchpatch2,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "friendlyfox";
version = "2.11.1";
version = "3.1.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "user0";
repo = "Mobile-Friendly-Firefox";
rev = "v${finalAttrs.version}";
hash = "sha256-rA5lnfW5zOyfJ6pbcrsTBEhMEof5h/heGaHxST+q+AY=";
hash = "sha256-4y7rSAQT6N9VIQhRVyfLBCIb+bIUUOSawURywRCcb7c=";
};
patches = [
# Fix for Firefox 127 and later (renamed id)
(fetchpatch2 {
url = "https://codeberg.org/user0/Mobile-Friendly-Firefox/commit/bfb7946973bf707d0494714679df47ec66017f97.patch";
hash = "sha256-wJLXgNUUaNHVgCMi8sGnC5cx2yNwZwh2JoDaVMsVehY=";
})
];
installPhase = ''
runHook preInstall