ryubing: migrate to forgejo

This commit is contained in:
ranidspace
2026-05-08 14:38:41 -04:00
parent 549bd84d62
commit 5b511c170c
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
cctools,
darwin,
dotnetCorePackages,
fetchFromGitLab,
fetchFromForgejo,
libx11,
libgdiplus,
moltenvk,
@@ -34,10 +34,10 @@ buildDotnetModule rec {
pname = "ryubing";
version = "1.3.3";
src = fetchFromGitLab {
src = fetchFromForgejo {
domain = "git.ryujinx.app";
owner = "Ryubing";
repo = "Ryujinx";
owner = "projects";
repo = "Ryubing";
tag = version;
hash = "sha256-LhQaXxmj5HIgfmrsDN8GhhVXlXHpDO2Q8JtNLaCq0mk=";
};
+2 -2
View File
@@ -6,7 +6,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
# If NEW_VERSION or COMMIT are not set, fetch the latest version
if [ -z ${NEW_VERSION+x} ] && [ -z ${COMMIT+x} ]; then
RELEASE_DATA=$(curl -s "https://git.ryujinx.app/api/v4/projects/1/repository/tags?order_by=updated&sort=desc")
RELEASE_DATA=$(curl -s "https://git.ryujinx.app/api/v1/repos/projects/Ryubing/tags")
if [ -z "$RELEASE_DATA" ] || [[ $RELEASE_DATA =~ "imposed ratelimits" ]]; then
echo "failed to get release job data" >&2
exit 1
@@ -27,7 +27,7 @@ fi
cd ../../../..
if [[ "${1-default}" != "--deps-only" ]]; then
SHA="$(nix-prefetch-git https://git.ryujinx.app/ryubing/ryujinx --rev "$NEW_VERSION" --quiet | jq -r '.sha256')"
SHA="$(nix-prefetch-git https://git.ryujinx.app/projects/Ryubing --rev "$NEW_VERSION" --quiet | jq -r '.sha256')"
SRI=$(nix --experimental-features nix-command hash to-sri "sha256:$SHA")
update-source-version ryubing "$NEW_VERSION" "$SRI"
fi