Files
nixpkgs/pkgs/by-name/li/librewolf-unwrapped/src.nix
Wolfgang Walther 606bc4523a librewolf-unwrapped: switch to fetchFromForgejo
Since 154.0.1-2 there are no submodules anymore. When removing the flag
the fetcher does not use git anymore, at which point the old gitlab
fetcher fails to download the archive, because the repo is actually
hosted on forgejo now.
2026-08-27 10:26:04 +02:00

26 lines
452 B
Nix

{
lib,
fetchurl,
fetchFromForgejo,
}:
let
src = lib.importJSON ./src.json;
in
{
inherit (src) packageVersion;
source = fetchFromForgejo (
src.source
// {
domain = "librewolf.dev";
owner = "librewolf";
repo = "source";
}
);
firefox = fetchurl (
src.firefox
// {
url = "mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz";
}
);
}