about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/browsers/librewolf/src.nix
blob: a2100ac2ab8bc7dac205ddcb375461abd6295ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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;
  };
}