From 04d964df09caf58310d4b1c57edfb37adcc92fe7 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Tue, 22 Sep 2026 19:27:52 -0400 Subject: [PATCH] matrix-authentication-service: 1.24.0 -> 1.25.1 Diff: https://github.com/element-hq/matrix-authentication-service/compare/v1.24.0...v1.25.1 Changelog: https://github.com/element-hq/matrix-authentication-service/releases/tag/v1.25.1 --- .../matrix-authentication-service/package.nix | 17 +++++++++---- .../remove-runtime.patch | 25 +++++++++++++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 pkgs/by-name/ma/matrix-authentication-service/remove-runtime.patch diff --git a/pkgs/by-name/ma/matrix-authentication-service/package.nix b/pkgs/by-name/ma/matrix-authentication-service/package.nix index 1030f3947e8a..2db3feb73d02 100644 --- a/pkgs/by-name/ma/matrix-authentication-service/package.nix +++ b/pkgs/by-name/ma/matrix-authentication-service/package.nix @@ -23,22 +23,29 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-authentication-service"; - version = "1.24.0"; + version = "1.25.1"; src = fetchFromGitHub { owner = "element-hq"; repo = "matrix-authentication-service"; tag = "v${finalAttrs.version}"; - hash = "sha256-LWGnfM7os9GT6fa/Vk1wAEp9m1L5rEL7tSPmgEKMNfQ="; + hash = "sha256-crgPUarH69AEbrRtBBHg4CeYXdSupxeEcjgh17bCdIk="; }; - cargoHash = "sha256-jAJuRwhc+0IAikLyqctHuCQcS61iNj7iKWHJdRAqsAk="; + patches = [ ./remove-runtime.patch ]; + + cargoHash = "sha256-Y7IlfHRkn5a5+IOa0R1OA3sDVF+5NxiYsZnREWYNAyo="; pnpmDeps = fetchPnpmDeps { - inherit (finalAttrs) pname version src; + inherit (finalAttrs) + pname + version + src + patches + ; inherit pnpm; fetcherVersion = 4; - hash = "sha256-DxEjMhYqZGbnobQ/F0WFXq7qaxSkWDcoZ0kmWJsdxEQ="; + hash = "sha256-nF0e88a4SJtZOZAc62sGp192GjM/gJJ7r5NbrCgJ1es="; }; pnpmRoot = "frontend"; diff --git a/pkgs/by-name/ma/matrix-authentication-service/remove-runtime.patch b/pkgs/by-name/ma/matrix-authentication-service/remove-runtime.patch new file mode 100644 index 000000000000..5fec4d945b30 --- /dev/null +++ b/pkgs/by-name/ma/matrix-authentication-service/remove-runtime.patch @@ -0,0 +1,25 @@ +diff --git a/package.json b/package.json +--- a/package.json ++++ b/package.json +@@ -5,8 +5 @@ +- "devEngines": { +- "runtime": { +- "name": "node", +- "version": "24.15.0", +- "onFail": "download" +- } +- }, + "devDependencies": { +diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml +--- a/pnpm-lock.yaml ++++ b/pnpm-lock.yaml +@@ -14,9 +14,6 @@ importers: + '@localazy/cli': + specifier: ^2.0.11 + version: 2.0.11 +- node: +- specifier: runtime:24.15.0 +- version: runtime:24.15.0 + semver: + specifier: ^7.8.5 + version: 7.8.5