mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
26 lines
626 B
Nix
26 lines
626 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;
|
|
};
|
|
settings = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "librewolf";
|
|
repo = "settings";
|
|
inherit (src.settings) rev sha256;
|
|
};
|
|
firefox = fetchurl {
|
|
url =
|
|
"mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz";
|
|
inherit (src.firefox) sha512;
|
|
};
|
|
}
|
|
|