nixpkgs/pkgs/applications/networking/browsers/librewolf/src.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
626 B
Nix
Raw Normal View History

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