Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
19 lines
475 B
Nix
19 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;
|
|
};
|
|
}
|
|
|