8 pname = "librewolf-bin";
9 upstreamVersion = "134.0-1";
10 version = lib.replaceStrings [ "-" ] [ "." ] upstreamVersion;
12 url = "https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/${upstreamVersion}/LibreWolf.x86_64.AppImage";
13 hash = "sha256-WlI0a2Sb59O6QGZ59vseTeDIkzyJd4/VIZ/qTFcLWm0=";
15 appimageContents = appimageTools.extract { inherit pname version src; };
17 appimageTools.wrapType2 {
18 inherit pname version src;
20 extraInstallCommands = ''
21 mv $out/bin/{${pname},librewolf}
22 install -Dm444 ${appimageContents}/io.gitlab.LibreWolf.desktop -t $out/share/applications
23 install -Dm444 ${appimageContents}/librewolf.png -t $out/share/pixmaps
27 description = "Fork of Firefox, focused on privacy, security and freedom (upstream AppImage release)";
28 homepage = "https://librewolf.net";
29 license = lib.licenses.mpl20;
30 maintainers = with lib.maintainers; [ dwrege ];
31 platforms = [ "x86_64-linux" ];
32 mainProgram = "librewolf";
33 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];