librewolf-unwrapped: repository moved to Codeberg

+7 -6
+5 -4
pkgs/applications/networking/browsers/librewolf/src.nix
··· 1 - { lib, fetchurl, fetchFromGitLab, fetchFromGitea }: 2 let src = lib.importJSON ./src.json; 3 in 4 { 5 inherit (src) packageVersion; 6 - source = fetchFromGitLab { 7 - owner = "librewolf-community"; 8 - repo = "browser/source"; 9 fetchSubmodules = true; 10 inherit (src.source) rev sha256; 11 };
··· 1 + { lib, fetchurl, fetchFromGitea }: 2 let src = lib.importJSON ./src.json; 3 in 4 { 5 inherit (src) packageVersion; 6 + source = fetchFromGitea { 7 + domain = "codeberg.org"; 8 + owner = "librewolf"; 9 + repo = "source"; 10 fetchSubmodules = true; 11 inherit (src.source) rev sha256; 12 };
+2 -2
pkgs/applications/networking/browsers/librewolf/update.nix
··· 17 PATH=${lib.makeBinPath [ coreutils curl gnugrep gnupg gnused jq moreutils nix-prefetch-git ]} 18 set -euo pipefail 19 20 - latestTag=$(curl https://gitlab.com/api/v4/projects/librewolf-community%2Fbrowser%2Fsource/repository/tags?per_page=1 | jq -r .[0].name) 21 echo "latestTag=$latestTag" 22 23 srcJson=pkgs/applications/networking/browsers/librewolf/src.json ··· 29 fi 30 31 prefetchOut=$(mktemp) 32 - repoUrl=https://gitlab.com/librewolf-community/browser/source.git/ 33 nix-prefetch-git $repoUrl --quiet --rev $latestTag --fetch-submodules > $prefetchOut 34 srcDir=$(jq -r .path < $prefetchOut) 35 srcHash=$(jq -r .sha256 < $prefetchOut)
··· 17 PATH=${lib.makeBinPath [ coreutils curl gnugrep gnupg gnused jq moreutils nix-prefetch-git ]} 18 set -euo pipefail 19 20 + latestTag=$(curl "https://codeberg.org/api/v1/repos/librewolf/source/tags?page=1&limit=1" | jq -r .[0].name) 21 echo "latestTag=$latestTag" 22 23 srcJson=pkgs/applications/networking/browsers/librewolf/src.json ··· 29 fi 30 31 prefetchOut=$(mktemp) 32 + repoUrl=https://codeberg.org/librewolf/source.git 33 nix-prefetch-git $repoUrl --quiet --rev $latestTag --fetch-submodules > $prefetchOut 34 srcDir=$(jq -r .path < $prefetchOut) 35 srcHash=$(jq -r .sha256 < $prefetchOut)