Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 fetchFromGitea, 5}: 6let 7 src = lib.importJSON ./src.json; 8in 9{ 10 inherit (src) packageVersion; 11 source = fetchFromGitea ( 12 src.source 13 // { 14 domain = "codeberg.org"; 15 owner = "librewolf"; 16 repo = "source"; 17 fetchSubmodules = true; 18 } 19 ); 20 firefox = fetchurl ( 21 src.firefox 22 // { 23 url = "mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz"; 24 } 25 ); 26}