From b91aa6fb4bd708c249f02e83f8d39bf06ed7d3ac Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 19 Jun 2026 23:53:58 +0200 Subject: [PATCH 1/2] proxyauth: fix 404 --- pkgs/by-name/pr/proxyauth/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/pr/proxyauth/package.nix b/pkgs/by-name/pr/proxyauth/package.nix index a624eb2f30df..3321b7138c78 100644 --- a/pkgs/by-name/pr/proxyauth/package.nix +++ b/pkgs/by-name/pr/proxyauth/package.nix @@ -1,6 +1,6 @@ { lib, - fetchFromGitHub, + fetchFromForgejo, rustPlatform, pkg-config, openssl, @@ -13,10 +13,12 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "proxyauth"; version = "0.8.0"; - src = fetchFromGitHub { + src = fetchFromForgejo { + domain = "git.proxyauth.app"; owner = "ProxyAuth"; repo = "ProxyAuth"; - tag = finalAttrs.version; + rev = "13b353e4a8b34fc1736c834cfcaa9afe06e8abf8"; + # Tags were not replicated from GitHub to git.proxyauth.app hash = "sha256-cVjD91tBCGyslLsYUSP1Gy7KuMQZDVxQXU7fQkWeWyM="; }; @@ -42,7 +44,7 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "Proxy Authentication Token - Fast authentication gateway for backend APIs"; - homepage = "https://github.com/ProxyAuth/ProxyAuth"; + homepage = "https://git.proxyauth.app/ProxyAuth/ProxyAuth"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ liberodark ]; platforms = lib.platforms.linux; From a59cc5aaebef4c4442391f9b7577b251f178495d Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 19 Jun 2026 23:04:15 +0200 Subject: [PATCH 2/2] proxyauth: add structuredAttrs --- pkgs/by-name/pr/proxyauth/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/pr/proxyauth/package.nix b/pkgs/by-name/pr/proxyauth/package.nix index 3321b7138c78..d1706a6b94b3 100644 --- a/pkgs/by-name/pr/proxyauth/package.nix +++ b/pkgs/by-name/pr/proxyauth/package.nix @@ -33,6 +33,9 @@ rustPlatform.buildRustPackage (finalAttrs: { nettle ]; + __structuredAttrs = true; + strictDeps = true; + nativeInstallCheckInputs = [ versionCheckHook ];