1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/applications/networking/browsers/librewolf/src.nix
squalus b499d9256b librewolf-unwrapped: use settings from submodule
Upstream has pinned the settings repo using submodules since
https://codeberg.org/librewolf/source/commit/3379ed0351

Use submodules to fetch the correct rev of the settings repo rather than
guessing by choosing the latest rev
2024-08-25 06:57:01 -07:00

20 lines
475 B
Nix

{ lib, fetchurl, fetchFromGitea }:
let src = lib.importJSON ./src.json;
in
{
inherit (src) packageVersion;
source = fetchFromGitea {
domain = "codeberg.org";
owner = "librewolf";
repo = "source";
fetchSubmodules = true;
inherit (src.source) rev sha256;
};
firefox = fetchurl {
url =
"mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz";
inherit (src.firefox) sha512;
};
}