mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 13:03:34 +00:00
19 lines
466 B
Nix
19 lines
466 B
Nix
{ lib, fetchurl, fetchFromGitLab }:
|
|
let src = lib.importJSON ./src.json;
|
|
in
|
|
{
|
|
inherit (src) packageVersion;
|
|
source = fetchFromGitLab {
|
|
owner = "librewolf-community";
|
|
repo = "browser/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;
|
|
};
|
|
}
|
|
|